Commit Graph
72 Commits
Author SHA1 Message Date
hathach 9a4d94f485 clean up 2018-11-02 19:57:34 +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 5580249807 add while for serial connection to all examples for nrf52840 native usb 2018-10-30 00:48:45 +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 ee5a2e490a add flash writing indicator using LED_BUILTIN 2018-10-25 17:49:53 +07:00
hathach 70305da5e7 add filesystem format() 2018-10-25 17:21:23 +07:00
hathach 90b06938e6 External readwrite example work as well 2018-10-25 16:16:55 +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 6755a25d02 clean up 2018-10-24 21:37:10 +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 f3f93adf0c adding flash qspi 2018-10-22 14:43:21 +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 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