Commit graph

81 commits

Author SHA1 Message Date
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
9480a91ecc mufs: calculate log2_nentries during mount 2017-05-29 15:07:11 +02:00
c08a8be9a9 mufs: add actual file size to tree information 2017-05-29 15:00:42 +02:00
c5c24788c8 mufs: mufs_mount() read the tree pointer of the root directory 2017-05-29 14:08:36 +02:00
32f0ca0e1a flash: remove log2_page_size 2017-05-26 14:13:57 +02:00
ff0b94789e shell: add commands for ftl and mufs 2017-05-19 19:02:03 +02:00
19cd9d185f mufs: initial support for mounting/formatting 2017-05-19 18:58:42 +02:00
efa91ba5c3 macros: add align() macro 2017-05-19 18:29:17 +02:00
c684a57e24 ftl: add ftl_is_mapped() to check if a page is mapped 2017-05-19 18:28:44 +02:00
937521c909 flash: return size for flash_read() and flash_write() 2017-05-19 18:20:50 +02:00
6a2c499d7a ftl: use byte-offset from VA in ftl_write() 2017-05-19 18:04:52 +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
b6c5d5bbda ftl: implemented ftl_mount() to seamlessly wrap flash devices 2017-05-19 16:21:11 +02:00
6f7fec2965 ftl: rename journal to map 2017-05-19 15:58:19 +02:00
a899f35562 flash: add flash_get_capacity() 2017-05-19 15:09:25 +02:00
602ebb364d ftl: use void * instead of uint8_t * 2017-05-19 15:03:22 +02:00
e31a852225 ftl: add buffer length to ftl_read() 2017-05-19 14:14:53 +02:00