Commit Graph
94 Commits
Author SHA1 Message Date
hathach a3d75eb99d clean up 2018-10-22 12:29:47 +07:00
hathach e221ef3f15 example clean up 2018-10-19 15:29:27 +07:00
hathach 9ec95d6cf1 more clean up 2018-10-19 15:21:28 +07:00
hathach 6704579236 lfs clean up 2018-10-19 15:18:24 +07:00
hathach e3c7a1a1ec move flash API out of core to FileSystem library 2018-10-19 15:15:08 +07:00
hathach 3361e5acf2 rename flash_nrf52 to flash_nrf5x 2018-10-19 15:09:26 +07:00
hathach 03b56f16c4 comment out flush in _iflash_erase
(may enable later if having cache issue)
2018-10-19 14:59:33 +07:00
hathach 191baf744a minor clean up 2018-10-18 23:50:46 +07:00
hathach e76ff0e76f fix incorrect logic with _iflash_erase 2018-10-18 22:49:37 +07:00
hathach a1f03a2a91 modify lfs to allow remove non-empty directory
more info https://github.com/ARMmbed/littlefs/issues/43
2018-10-18 17:53:04 +07:00
hathach 8c7a6785d1 migrate the whole bonding to lfs 2018-10-18 17:52:27 +07:00
hathach 7a6220146f using lfs for bonding. Add rmdir_r() 2018-10-18 17:10:59 +07:00
hathach 22a7a7e66a InternalFS.mkdir() create all intermediate directories that don't exists
- fix list file example
- improve openNextFile
2018-10-18 16:01:33 +07:00
hathach 7e6891e5c8 allow safely call InternalFS.begin() multple times 2018-10-18 14:25:33 +07:00
hathach ba0af40808 make internal fs work with or without SD enable 2018-10-18 13:15:31 +07:00
hathach c089969471 add path() to return full filepath 2018-10-18 12:54:06 +07:00
hathach aa9078a9bf skip "." and ".." in openNextFile() 2018-10-18 12:52:28 +07:00
hathach 442e28316e full filepath is stored in File, name() only return basename
correct open subdirectory file
2018-10-18 12:48:07 +07:00
hathach c3b2f29288 add FileIO operator = to prevent memory leak 2018-10-18 12:27:17 +07:00
hathach 2fe1630f5d correct lfc open next file 2018-10-18 11:42:41 +07:00
hathach bbd008acf3 correct file open() and openNextFile() 2018-10-18 00:27:54 +07:00
hathach 4952287a2e add internal List files example 2018-10-17 23:22:49 +07:00
hathach b77e4cf00a add Internal_ReadWrite 2018-10-17 20:54:20 +07:00
hathach 7af34049ea add file name() 2018-10-17 20:52:31 +07:00
hathach 40141a1f30 implement peek() using read and seek 2018-10-17 17:44:33 +07:00
hathach 329ca33317 added openNextFile 2018-10-17 17:39:04 +07:00
hathach 0284917c82 update file close() to support directory 2018-10-17 17:21:49 +07:00
hathach 1264eb8567 add rewindDirectory() 2018-10-17 17:11:55 +07:00
hathach 9c66c69a48 add exists, mkdir, remove, rmdir 2018-10-17 17:08:31 +07:00
hathach 823e1f425c lfs add open directory support, isDirectory() 2018-10-17 16:34:18 +07:00
hathach 1fd30e3eed added file position, size, availale() 2018-10-17 16:06:17 +07:00
hathach aa5b285b26 add file seek 2018-10-17 13:29:53 +07:00
hathach 5c9fa09a93 able to open, write and read back with lfs 2018-10-17 13:19:12 +07:00
hathach 9f90a823f4 lfs format and restore seems to work 2018-10-16 00:32:06 +07:00
hathach 4482a07bbf adding lfs 2018-10-15 23:44:40 +07:00
hathach c2e1bf11ee more lfs 2018-10-15 17:17:40 +07:00
hathach f32868509b add little fs files 2018-10-15 17:14:11 +07:00
hathach 1fb5f65dcc more nffs porting 2018-10-15 17:11:05 +07:00
hathach 4950de9ea3 move custom start up to linker folder 2018-10-15 15:18:34 +07:00
hathach 49baa7eae4 porting mynewt-nffs 2018-10-12 18:21:36 +07:00
hathach f4f6108ed6 move fs files to src folder 2018-10-12 15:00:09 +07:00
hathach e2d9b21bbf add mynewt-nffs 2018-10-12 14:24:14 +07:00
hathach 6ac3031a4c remove little fs 2018-10-12 14:23:33 +07:00
hathach 654f1bd89e adding new file system 2018-10-11 00:07:34 +07:00