incubator-nuttx/fs/spiffs
Gustavo Henrique Nihei e6b204f438 nuttx: Use MIN/MAX definitions from "sys/param.h"
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-02-01 23:47:44 +08:00
..
docs Remove the double blank line from source files 2022-02-20 20:10:14 +01:00
src nuttx: Use MIN/MAX definitions from "sys/param.h" 2023-02-01 23:47:44 +08:00
Kconfig SPIFFS select FS_LARGEFILE since it's required 2022-08-04 22:31:57 +08:00
Make.defs tools: replace INCDIR to Makefile variable 2022-11-03 19:59:55 +08:00
README-spiffs.md Remove the double blank line from source files 2022-02-20 20:10:14 +01:00
README.md

README.md

SPIFFS

Creating an image

This implementation is supposed to be compatible with images generated by the following tools:

Note: please ensure the following NuttX configs to be compatible with these tools:

  • CONFIG_SPIFFS_COMPAT_OLD_NUTTX is disabled
  • CONFIG_SPIFFS_LEADING_SLASH=y

mkspiffs

  • Specify CONFIG_SPIFFS_NAME_MAX + 1 for SPIFFS_OBJ_NAME_LEN.
  • Specify 0 for SPIFFS_OBJ_META_LEN.

ESP-IDF spiffsgen.py

  • Specify CONFIG_SPIFFS_NAME_MAX + 1 for the --obj-name-len option.
  • Specify 0 for the --meta-len option.