Commit graph

309 commits

Author SHA1 Message Date
e24012af82 ftl: enable sync-less writes 2017-07-24 15:40:36 +02:00
7125ddadf9 mufs: get proper virtual address in mufs_shrink_tree() 2017-07-24 15:38:23 +02:00
5164ded1fe mufs: reduce memory footprint of mufs_do_free_page() 2017-07-24 15:35:49 +02:00
25774eaab5 ftl: sync dirty writes before reading or trimming 2017-07-24 15:26:22 +02:00
070c36a361 mufs: sync writes 2017-07-24 15:23:19 +02:00
58c93eecf4 mufs: reduce memory footprint of mufs_shrink_tree() 2017-07-24 15:21:10 +02:00
4ef4aa7036 ftl: implement flash_sync() 2017-07-24 15:07:24 +02:00
ac3d198004 core: flash: implement flash_sync() to sync buffered data 2017-07-24 15:05:16 +02:00
f7b11a8726 ftl: temporarily disable reading the cached va in trace_path() 2017-07-24 15:03:19 +02:00
6c7594acaa ftl: invalidate cached va during sync 2017-07-24 15:02:48 +02:00
018b0043a3 ftl: implement transactions to perform partial writes 2017-07-24 14:37:47 +02:00
15d2f6dc4b ftl: cache unmapped translations 2017-07-24 13:24:48 +02:00
f68e26ac12 ftl: implement flags to keep track of state 2017-07-24 13:12:54 +02:00
8f061a808d ftl: cache last virtual address translation 2017-07-24 13:09:48 +02:00
bc50af00b6 shell: mufs: implement experimental write command 2017-07-21 17:41:12 +02:00
57217644f2 shell: fix mufs cat to write contents to the appropriate serial interface 2017-07-20 17:52:00 +02:00
cfa38c9d39 shell: reimplement all commands to use the new shell system 2017-07-20 17:46:23 +02:00
fa16f60b06 shell: reimplementation to improve command handling and to support multiple serial interfaces 2017-07-20 16:51:05 +02:00
f04041ae96 main: test parsing command line into arguments 2017-07-20 16:17:54 +02:00
20aec106c0 stm32f0: usart: return EAGAIN 2017-07-20 16:17:15 +02:00
5b97afd1bc shell: implement functions to parse command lines into an (argc, argv) tuple 2017-07-20 16:16:53 +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
652a90aab8 ftl: add newline for clarity 2017-07-18 12:59:43 +02:00
2b2827eb18 shell: simplify prompt() 2017-07-18 12:59:26 +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
3d33e5e0ce flash: return the amount of written bytes in flash_write0() and default_flash_copy() 2017-06-23 16:55:45 +02:00
7826eccc36 ftl: restructure ftl_write() to use less memory by using flash_write0() and flash_copy() 2017-06-23 16:22:05 +02:00
3a287deba2 style: flash: remove trailing newlines 2017-06-23 16:10:10 +02:00
cd67577f35 flash: implement flash_write0() to write a sequence of zeroes 2017-06-23 16:09:56 +02:00
22028021ca ftl: use write_page_desc() in ftl_trim() 2017-06-23 16:03:42 +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
24f7c7b96a shell: flash: display offsets properly 2017-06-16 17:14:53 +02:00
463cf04f8d shell: flash display offsets 2017-06-16 17:13:45 +02:00
d1a82f333a shell: flash: add padding in print_hex() 2017-06-16 17:08:39 +02:00