subsys/fs: add support for littlefs
littlefs is a fail-safe filesystem from ARM Mbed that has wear-leveling capabilities. Signed-off-by: Peter A. Bigot <pab@pabigot.com> Signed-off-by: Jim Paris <jim@bolt.io>
This commit is contained in:
parent
b8be48e6ca
commit
fb73fcd4ba
8 changed files with 781 additions and 6 deletions
|
@ -11,7 +11,7 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_FILE_SYSTEM_NFFS
|
||||
#if defined(CONFIG_FILE_SYSTEM_LITTLEFS) || defined(CONFIG_FILE_SYSTEM_NFFS)
|
||||
#define MAX_FILE_NAME 256
|
||||
#else /* FAT_FS */
|
||||
#define MAX_FILE_NAME 12 /* Uses 8.3 SFN */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue