Commit graph

41 commits

Author SHA1 Message Date
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
bd326ad795 flash: add flash_copy and improve flash_erase 2017-05-15 16:07:13 +02:00
f61ecefdc6 flash: add flash_get_size() 2017-04-07 19:35:51 +02:00
bff4845c32 flash: detect flash size 2017-04-07 18:35:00 +02:00
77c3e5f440 spi: avoid setting up clocks again as it conflicts with USART 2017-04-07 17:35:15 +02:00
f7db775316 usart: re-route input as output 2017-04-07 17:34:47 +02:00
0bc1146ffd flash: separate SPI flash commands 2017-04-07 17:32:43 +02:00
ce9065166b flash: use MAP_SHARED for files 2017-03-31 16:11:12 +02:00
d1da4b3c9d flash: add function to release flash device 2017-03-31 15:54:11 +02:00
d2bb6994eb spi: add function to release SPI device 2017-03-31 15:53:56 +02:00
31740bbb20 flash: map existing file to memory to use as sandbox flash 2017-03-23 14:51:17 +00:00
2f82854e8a flash: sandbox: fix size checks and erase initial memory 2017-03-11 13:51:04 +00:00
c815803869 flash: add sandbox driver for testing 2017-03-11 13:32:30 +00:00
54d6134e21 console: add console driver for stdio 2017-03-11 13:09:28 +00:00
81632df5e9 console: separate driver for USART 2017-03-11 13:07:12 +00:00
094c600283 flash: add SPI flash driver 2017-03-11 12:56:46 +00:00
a078de7c9f spi: stm32f0: add SPI driver 2017-03-11 00:55:54 +00:00