Commit graph

318 commits

Author SHA1 Message Date
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
d17c1b65b4 make: separate Makefile for shell commands 2017-07-27 15:15:23 +02:00
c10a0a2421 stm32f0: usart: set baud rate to 115200 2017-07-27 15:13:15 +02:00
f2a922c697 main: don't bail if mounting fails 2017-07-27 13:20:42 +02:00
ebb8bbe5f3 main: add command for booting 2017-07-27 13:17:55 +02:00
159b29c625 shell: boot: switch to trusted commands 2017-07-27 13:17:31 +02:00
428ce212a5 shell: add boot commands 2017-07-27 12:46:50 +02:00
db0a62fc9f shell: rtc: fix off by one 2017-07-27 12:25:57 +02:00
2b1d401296 stm32f0: rtc: fix off by one 2017-07-27 12:24:42 +02:00
c6afcd1027 shell: version: fix typo 2017-07-27 12:15:44 +02:00
4aa807a7b3 shell: return exit codes to the user console 2017-07-27 12:15:24 +02:00
2942340b21 shell: return exit codes 2017-07-27 11:54:31 +02:00
a7504ad99c shell: swap argc and argv 2017-07-27 11:41:20 +02:00
ab5e9d532e main: mount flash chip, FTL and mufs automatically 2017-07-27 11:06:05 +02:00
0261989724 main: implement user commands 2017-07-27 11:05:40 +02:00
501b80e87c shell: mufs: expose individual commands 2017-07-27 11:03:34 +02:00
bba75900c0 shell: mufs: show newline for each line to write 2017-07-27 10:59:14 +02:00
6570ab27c9 shell: implement version command 2017-07-27 10:51:54 +02:00
149281f694 shell: rtc: add header 2017-07-27 10:46:39 +02:00
651291ece1 main: initialise the real-time clock 2017-07-27 10:45:50 +02:00
6dcf58a25d shell: implement echo command 2017-07-27 10:44:52 +02:00
c6f3e0e421 make: enable link-time optimisations 2017-07-27 10:41:31 +02:00
311491bcfb make: define _XOPEN_SOURCE for strptime() 2017-07-27 10:40:43 +02:00
acdc364fab shell: rtc: add commands to get and set the date 2017-07-27 10:39:47 +02:00
161acf1731 make: enable pedantic C99 2017-07-26 11:31:23 +02:00
333706ccb9 stm32f0: rtc: set up the real-time clock and implement functions to get and set the time 2017-07-26 11:30:04 +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
7536a6878b shell: improve parse_hex() to use new stdio implementation 2017-07-24 17:08:06 +02:00
de701429a7 shell: mufs: use a temporary hack to get unbuffered input from the serial interface 2017-07-24 17:06:54 +02:00
846ea90bdc ftl: initialise the offset in the map 2017-07-24 16:36:22 +02:00
952f2e63fb mufs: sync in mufs_format() 2017-07-24 16:11:41 +02:00
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