Jeremy Poulter
|
03b500d078
|
Restructured so the class can be extended to add support for external flash chips.
|
2019-03-13 21:37:58 +00:00 |
|
Jeremy Poulter
|
affe391677
|
Unmount the FS befor formating
|
2019-03-11 22:35:58 +00:00 |
|
hathach
|
5dd174f933
|
fixing homekit filestroage build. Still have issue with c++ in fileio
|
2019-01-07 17:00:17 +07:00 |
|
hathach
|
1b687084aa
|
update feather nrf52840 product id
|
2018-12-20 20:24:42 +07:00 |
|
hathach
|
a63b676f27
|
rename FileIO.h to Bluefruit_FileIO to prevent lib conflict
|
2018-11-19 13:17:27 +07:00 |
|
hathach
|
123c3080c3
|
clean up, replace cprintf by std printf (with _write hook)
|
2018-11-02 20:17:33 +07:00 |
|
hathach
|
d89de257f7
|
clean up things
|
2018-11-01 14:09:42 +07:00 |
|
hathach
|
608cde9b85
|
update bootloader binaries and multiple clean up
|
2018-10-30 19:43:38 +07:00 |
|
hathach
|
e79a1f0547
|
add readme file when format externalfs
|
2018-10-29 22:45:14 +07:00 |
|
hathach
|
22be1ace27
|
enable fatfs lfn
|
2018-10-29 22:06:48 +07:00 |
|
hathach
|
5476d0729a
|
clean up
|
2018-10-29 21:46:04 +07:00 |
|
hathach
|
6ee14d6a93
|
clean up
|
2018-10-29 19:48:43 +07:00 |
|
hathach
|
c76c4c7027
|
fix incorrect diskio get GET_BLOCK_SIZE
|
2018-10-25 23:47:06 +07:00 |
|
hathach
|
09bf2f47b8
|
add fatfs update when there is usbmsc write
|
2018-10-25 20:56:58 +07:00 |
|
hathach
|
70305da5e7
|
add filesystem format()
|
2018-10-25 17:21:23 +07:00 |
|
hathach
|
eff1dd9187
|
implement most of the ExternalFS
|
2018-10-25 16:13:54 +07:00 |
|
hathach
|
f31b370cfa
|
list files example works
|
2018-10-25 15:47:19 +07:00 |
|
hathach
|
86ac3791b6
|
minor fix
|
2018-10-25 15:26:11 +07:00 |
|
hathach
|
4057aedfc1
|
implementing fatfs
|
2018-10-25 00:03:57 +07:00 |
|
hathach
|
7a23c671fd
|
correct FILE_WRITE to be opened at the end of file for lfs
|
2018-10-24 22:19:49 +07:00 |
|
hathach
|
739a61a4be
|
fix qspi fal
|
2018-10-24 21:19:58 +07:00 |
|
hathach
|
3ad4fca64d
|
complete diskio port
|
2018-10-24 18:14:01 +07:00 |
|
hathach
|
4a963b3440
|
fatfs disk porting
|
2018-10-24 17:59:48 +07:00 |
|
hathach
|
8d7d8666ac
|
adding FatFS + ExternalFS
|
2018-10-24 17:55:07 +07:00 |
|
hathach
|
5c69bdde99
|
move flash back to core
|
2018-10-22 13:08:29 +07:00 |
|
hathach
|
3760a70481
|
clean up
|
2018-10-22 12:46:41 +07:00 |
|
hathach
|
c848c7c6f0
|
add nrf52840 guard for fatfs
|
2018-10-22 12:39:32 +07:00 |
|
hathach
|
fda61bb7eb
|
add fatfs 13c files
|
2018-10-22 12:36:56 +07:00 |
|
hathach
|
a3d75eb99d
|
clean up
|
2018-10-22 12:29:47 +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
|
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
|
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
|
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 |
|