S.J.R. van Schaik
|
b5cdc92ba8
|
reset: remove old code
|
7 years ago |
S.J.R. van Schaik
|
b29e0b945d
|
tbm: fix minor issues during compilation
|
7 years ago |
S.J.R. van Schaik
|
b168422d8a
|
make: move spi_flash.c to source/platform
|
8 years ago |
S.J.R. van Schaik
|
33373dd250
|
main: swap around USART1 and USART2 to be compatible with tbm-schematics
|
8 years ago |
S.J.R. van Schaik
|
756e5852cb
|
flash: implement functions to check if pages are all zero or one
|
8 years ago |
S.J.R. van Schaik
|
907175bd37
|
stm32f0: spi: move to platform-specific directory
|
8 years ago |
S.J.R. van Schaik
|
73788ae5e6
|
flash: consistently use char instead of uint8_t
|
8 years ago |
S.J.R. van Schaik
|
c10a0a2421
|
stm32f0: usart: set baud rate to 115200
|
8 years ago |
S.J.R. van Schaik
|
c071903dd1
|
shell: pass around console object
|
8 years ago |
S.J.R. van Schaik
|
3f7580ae39
|
usart: only allocate two USART structures
|
8 years ago |
S.J.R. van Schaik
|
715cd7f72e
|
usart: use a baud rate of 9600
|
8 years ago |
S.J.R. van Schaik
|
fffcd4c3b9
|
usart: remove debugging statement
|
8 years ago |
S.J.R. van Schaik
|
bc50af00b6
|
shell: mufs: implement experimental write command
|
8 years ago |
S.J.R. van Schaik
|
20aec106c0
|
stm32f0: usart: return EAGAIN
|
8 years ago |
S.J.R. van Schaik
|
7d0f730212
|
stm32f0: usart: implement asynchronous serial interfaces
|
8 years ago |
S.J.R. van Schaik
|
ad46f9ccae
|
stm32f0: usart: add code to enable USART 2
|
8 years ago |
S.J.R. van Schaik
|
30f878e562
|
stm32f0: usart: set up process line callback and pass the file pointer
|
8 years ago |
S.J.R. van Schaik
|
40c0668d20
|
stm32f0: usart: allocate USART console object and expose FILE pointer
|
8 years ago |
S.J.R. van Schaik
|
8af9ba9fa9
|
stm32f0: usart: set up array of consoles
|
8 years ago |
S.J.R. van Schaik
|
d37f64dccb
|
stm32f0: usart: remove unused variable
|
8 years ago |
S.J.R. van Schaik
|
04d161a6a9
|
stm32f0: usart: add callback to process each fully received line
|
8 years ago |
S.J.R. van Schaik
|
2610c11a3d
|
stm32f0: usart: simplify while loop in interrupt handler
|
8 years ago |
S.J.R. van Schaik
|
386cda3492
|
stm32f0: spi: use pin PB6 instead of PA4
|
8 years ago |
S.J.R. van Schaik
|
ea142b75fe
|
stm32f0: gpio: rcc: separate GPIO and RCC setup
|
8 years ago |
S.J.R. van Schaik
|
4e9f1c77bf
|
stm32f0: usart: temporarily enable GPIOs
|
8 years ago |
S.J.R. van Schaik
|
963b713d46
|
stm32f0: usart: fix typo
|
8 years ago |
S.J.R. van Schaik
|
eaa61e50af
|
stm32f0: usart: generalise initialisation
|
8 years ago |
S.J.R. van Schaik
|
e4d0dc3cb3
|
usart: implement interrupt for USART receive
|
8 years ago |
S.J.R. van Schaik
|
159a4e83b4
|
spi: flash: correct wrap-around.
|
8 years ago |
S.J.R. van Schaik
|
3395eb1a82
|
spi: flash: support the 256-byte wraparound when programming pages
|
8 years ago |
S.J.R. van Schaik
|
7a3e5a7679
|
spi: flash: enable write before every chunk to write in flash_write()
|
8 years ago |
S.J.R. van Schaik
|
d17c80e7eb
|
spi: flash: provide the proper length of the buffer in flash_write()
|
8 years ago |
S.J.R. van Schaik
|
6d73d7a655
|
spi: flash: use default_flash_copy()
|
8 years ago |
S.J.R. van Schaik
|
c38413dc90
|
flash: change prototype of flash_copy() and use the default implementation in the sandbox
|
8 years ago |
S.J.R. van Schaik
|
fa49f634e4
|
flash: spi: perform both flash_read() and flash_write() in chunks of 32 bytes
|
8 years ago |
S.J.R. van Schaik
|
7ab3a84fc4
|
spi: flash: use default_is_erased() to check if a block is erased
|
8 years ago |
S.J.R. van Schaik
|
f20e7128eb
|
spi: flash: wait for operations to complete
|
8 years ago |
S.J.R. van Schaik
|
5bafd2ac8f
|
spi: flash: set log2_block_size
|
8 years ago |
S.J.R. van Schaik
|
d53276e407
|
spi: flash: the JEDEC ID should be at most three bytes in length
|
8 years ago |
S.J.R. van Schaik
|
85a3f84d61
|
spi: properly exchange bytes by sending and reading each byte within a SPI transaction
|
8 years ago |
S.J.R. van Schaik
|
e7ad03608a
|
spi: flash: don't print the JEDEC ID any longer
|
8 years ago |
S.J.R. van Schaik
|
440c598d16
|
spi: flash: properly copy the JEDEC ID from the buffer
|
8 years ago |
S.J.R. van Schaik
|
460fc8f7a5
|
spi: flash: map get_capacity to spi_flash_get_size()
|
8 years ago |
S.J.R. van Schaik
|
154c33950a
|
spi: get rid of the separate calls to spi_set_cs_level()
|
8 years ago |
S.J.R. van Schaik
|
60d316711f
|
spi: clean up the code in order to reduce the latency
|
8 years ago |
S.J.R. van Schaik
|
e20e9e13e0
|
spi: flash: update code
|
8 years ago |
S.J.R. van Schaik
|
32f0ca0e1a
|
flash: remove log2_page_size
|
8 years ago |
S.J.R. van Schaik
|
937521c909
|
flash: return size for flash_read() and flash_write()
|
8 years ago |
S.J.R. van Schaik
|
f53b072a65
|
flash: implement release() as part of flash_ops
|
8 years ago |
S.J.R. van Schaik
|
20125827b6
|
flash: add and implemented flash_is_erased() for sandbox flash
|
8 years ago |