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
|
db6206864b
|
more clean up
|
2018-10-19 15:10:25 +07:00 |
|
hathach
|
3361e5acf2
|
rename flash_nrf52 to flash_nrf5x
|
2018-10-19 15:09:26 +07:00 |
|
hathach
|
8dc3bbed50
|
clean up
|
2018-10-19 15:04:33 +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
|
597cd8c635
|
fix bonding cccd offset
|
2018-10-19 14:56:53 +07:00 |
|
hathach
|
ec007902c3
|
bond save and load key with lfs is OK
|
2018-10-19 14:51:42 +07:00 |
|
hathach
|
61a9923b5e
|
move bond_init() to correct place
|
2018-10-19 14:39:57 +07:00 |
|
hathach
|
dbe1d6a6d4
|
add flash cache read
|
2018-10-19 14:32:03 +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
|
b24f397d5e
|
clean up
|
2018-10-18 18:07:53 +07:00 |
|
hathach
|
206e28d501
|
clean up
|
2018-10-18 17:54:07 +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
|
c66784b6e8
|
more bonding migration to lfs
|
2018-10-18 17:34:28 +07:00 |
|
hathach
|
fd08837c9c
|
update bond clear/remove
|
2018-10-18 17:11:39 +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
|
49691adb81
|
remove Serial.started(), make it safe to call Serial.begin() multiple times
|
2018-10-18 14:38:43 +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
|
c8f4c79dd1
|
add flash_nrf52_erase
|
2018-10-18 12:56:23 +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
|
2f1357c4b3
|
clean up include path
|
2018-10-17 21:00:29 +07:00 |
|
hathach
|
e1af1ac045
|
clean up
|
2018-10-17 20:55:54 +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 |
|