Commit graph

99 commits

Author SHA1 Message Date
ebc8dbffa5 mufs: move header 2017-08-01 17:12:48 +02:00
538b3150a5 macros: add proper BIT_MASK() macro 2017-08-01 15:48:16 +02:00
dc6365c7f8 ftl: fix bug in root recovery by marking page descriptors with a magic value 2017-07-31 14:17:11 +02:00
756e5852cb flash: implement functions to check if pages are all zero or one 2017-07-27 16:53:01 +02:00
428ce212a5 shell: add boot commands 2017-07-27 12:46:50 +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
501b80e87c shell: mufs: expose individual commands 2017-07-27 11:03:34 +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
6dcf58a25d shell: implement echo command 2017-07-27 10:44:52 +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
ac3d198004 core: flash: implement flash_sync() to sync buffered data 2017-07-24 15:05:16 +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
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
5957cc3bc6 gpio: rcc: add missing headers 2017-07-20 16:17:30 +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
7d0dcfaae5 macros: add macro to specify a bit mask range 2017-07-18 12:58:30 +02:00
cd67577f35 flash: implement flash_write0() to write a sequence of zeroes 2017-06-23 16:09:56 +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
a8beb53fa0 flash: implement a default function for copying data 2017-06-16 15:40:02 +02:00
a22b59b2a8 macros: add mask() as a macro to calculate the bit mask 2017-06-16 14:19:47 +02:00
f20e7128eb spi: flash: wait for operations to complete 2017-06-14 15:13:34 +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
7b5187973a shell: mufs: add proper mounting and unmounting 2017-06-14 13:29:16 +02:00
8b780d57d9 mufs: implement mufs_rename() to move files and directories 2017-06-12 15:53:46 +02:00
65c1fc28d3 mufs: implement mufs_unlink() 2017-06-12 15:37:22 +02:00
d6fa387868 mufs: implement mufs_rmdir() 2017-06-12 15:35:15 +02:00
27a15b3fb7 mufs: expose MUFS_FILE and MUFS_DIR constants 2017-06-12 13:51:27 +02:00
beb5f64c12 mufs: implement mufs_stat() 2017-06-12 13:50:05 +02:00
26b0ccb405 mufs: optionally record the type and file_size in resolve_path() 2017-06-12 13:48:43 +02:00
a20c1a8ed4 mufs: implement mufs_seek() to seek and tell the position within a file 2017-06-12 13:04:46 +02:00
2c1079d0f4 mufs: implement modes for read, write and append in mufs_open() 2017-06-12 12:53:20 +02:00
1c736c3324 mufs: add support for reading and writing files 2017-06-11 17:42:32 +02:00
073c7f34be mufs: expose mufs_abspath() 2017-06-11 16:41:48 +02:00
e18107d2d5 mufs: add support for directories 2017-06-09 14:38:31 +02:00
99e2229bbb mufs: clean up code by embedding struct mufs into struct mufs_tree 2017-06-09 13:35:37 +02:00
bf677b7655 macros: add align_up() 2017-05-29 16:39:44 +02:00