|
33373dd250
|
main: swap around USART1 and USART2 to be compatible with tbm-schematics
|
2017-07-28 13:15:07 +02:00 |
|
|
756e5852cb
|
flash: implement functions to check if pages are all zero or one
|
2017-07-27 16:53:01 +02:00 |
|
|
907175bd37
|
stm32f0: spi: move to platform-specific directory
|
2017-07-27 15:28:25 +02:00 |
|
|
73788ae5e6
|
flash: consistently use char instead of uint8_t
|
2017-07-27 15:24:34 +02:00 |
|
|
c10a0a2421
|
stm32f0: usart: set baud rate to 115200
|
2017-07-27 15:13:15 +02:00 |
|
|
c071903dd1
|
shell: pass around console object
|
2017-07-24 17:57:13 +02:00 |
|
|
3f7580ae39
|
usart: only allocate two USART structures
|
2017-07-24 17:09:59 +02:00 |
|
|
715cd7f72e
|
usart: use a baud rate of 9600
|
2017-07-24 17:09:43 +02:00 |
|
|
fffcd4c3b9
|
usart: remove debugging statement
|
2017-07-24 17:08:41 +02:00 |
|
|
bc50af00b6
|
shell: mufs: implement experimental write command
|
2017-07-21 17:41:12 +02:00 |
|
|
20aec106c0
|
stm32f0: usart: return EAGAIN
|
2017-07-20 16:17:15 +02:00 |
|
|
7d0f730212
|
stm32f0: usart: implement asynchronous serial interfaces
|
2017-07-20 14:37:07 +02:00 |
|
|
ad46f9ccae
|
stm32f0: usart: add code to enable USART 2
|
2017-07-18 17:04:49 +02:00 |
|
|
30f878e562
|
stm32f0: usart: set up process line callback and pass the file pointer
|
2017-07-18 16:18:59 +02:00 |
|
|
40c0668d20
|
stm32f0: usart: allocate USART console object and expose FILE pointer
|
2017-07-18 16:11:36 +02:00 |
|
|
8af9ba9fa9
|
stm32f0: usart: set up array of consoles
|
2017-07-18 15:57:28 +02:00 |
|
|
d37f64dccb
|
stm32f0: usart: remove unused variable
|
2017-07-18 15:34:49 +02:00 |
|
|
04d161a6a9
|
stm32f0: usart: add callback to process each fully received line
|
2017-07-18 15:34:17 +02:00 |
|
|
2610c11a3d
|
stm32f0: usart: simplify while loop in interrupt handler
|
2017-07-18 15:29:50 +02:00 |
|
|
386cda3492
|
stm32f0: spi: use pin PB6 instead of PA4
|
2017-07-18 15:15:00 +02:00 |
|
|
c827115333
|
merge
|
2017-07-18 15:10:29 +02:00 |
|
|
ea142b75fe
|
stm32f0: gpio: rcc: separate GPIO and RCC setup
|
2017-07-18 15:08:46 +02:00 |
|
S.J.R. van Schaik
|
4e9f1c77bf
|
stm32f0: usart: temporarily enable GPIOs
|
2017-07-18 15:06:34 +02:00 |
|
S.J.R. van Schaik
|
963b713d46
|
stm32f0: usart: fix typo
|
2017-07-18 15:06:20 +02:00 |
|
|
eaa61e50af
|
stm32f0: usart: generalise initialisation
|
2017-07-18 13:30:35 +02:00 |
|
|
e4d0dc3cb3
|
usart: implement interrupt for USART receive
|
2017-07-18 12:59:05 +02:00 |
|
|
159a4e83b4
|
spi: flash: correct wrap-around.
|
2017-06-26 12:18:44 +02:00 |
|
|
3395eb1a82
|
spi: flash: support the 256-byte wraparound when programming pages
|
2017-06-24 17:02:36 +02:00 |
|
|
7a3e5a7679
|
spi: flash: enable write before every chunk to write in flash_write()
|
2017-06-22 18:49:43 +02:00 |
|
|
d17c80e7eb
|
spi: flash: provide the proper length of the buffer in flash_write()
|
2017-06-22 17:38:58 +02:00 |
|
|
6d73d7a655
|
spi: flash: use default_flash_copy()
|
2017-06-16 15:43:21 +02:00 |
|
|
c38413dc90
|
flash: change prototype of flash_copy() and use the default implementation in the sandbox
|
2017-06-16 15:42:08 +02:00 |
|
|
fa49f634e4
|
flash: spi: perform both flash_read() and flash_write() in chunks of 32 bytes
|
2017-06-14 16:21:22 +02:00 |
|
|
7ab3a84fc4
|
spi: flash: use default_is_erased() to check if a block is erased
|
2017-06-14 16:19:36 +02:00 |
|
|
f20e7128eb
|
spi: flash: wait for operations to complete
|
2017-06-14 15:13:34 +02:00 |
|
|
5bafd2ac8f
|
spi: flash: set log2_block_size
|
2017-06-14 14:59:07 +02:00 |
|
|
d53276e407
|
spi: flash: the JEDEC ID should be at most three bytes in length
|
2017-06-14 14:38:03 +02:00 |
|
|
85a3f84d61
|
spi: properly exchange bytes by sending and reading each byte within a SPI transaction
|
2017-06-14 14:37:22 +02:00 |
|
|
e7ad03608a
|
spi: flash: don't print the JEDEC ID any longer
|
2017-06-14 14:37:04 +02:00 |
|
|
440c598d16
|
spi: flash: properly copy the JEDEC ID from the buffer
|
2017-06-14 14:36:36 +02:00 |
|
|
460fc8f7a5
|
spi: flash: map get_capacity to spi_flash_get_size()
|
2017-06-14 14:36:19 +02:00 |
|
|
154c33950a
|
spi: get rid of the separate calls to spi_set_cs_level()
|
2017-06-14 14:27:31 +02:00 |
|
|
60d316711f
|
spi: clean up the code in order to reduce the latency
|
2017-06-14 14:26:11 +02:00 |
|
|
e20e9e13e0
|
spi: flash: update code
|
2017-06-14 14:13:23 +02:00 |
|
|
32f0ca0e1a
|
flash: remove log2_page_size
|
2017-05-26 14:13:57 +02:00 |
|
|
937521c909
|
flash: return size for flash_read() and flash_write()
|
2017-05-19 18:20:50 +02:00 |
|
|
f53b072a65
|
flash: implement release() as part of flash_ops
|
2017-05-19 17:26:00 +02:00 |
|
|
20125827b6
|
flash: add and implemented flash_is_erased() for sandbox flash
|
2017-05-19 17:16:01 +02:00 |
|
|
e65110f084
|
improve API for flash_erase()
|
2017-05-19 17:04:45 +02:00 |
|
|
5a8bf83c7b
|
stm32f0: added tested example code to reset the Whitebox
|
2017-05-18 16:59:19 +02:00 |
|