nuttx/fs/spiffs
Jiuzhu Dong 13100cf248 fs/readdir: Must reserve a byte for the NUL terminator
Change-Id: I1df0c278d289b90cc54512c0ee256a95549785ca
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-01-26 18:22:35 -08:00
..
docs Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
src fs/readdir: Must reserve a byte for the NUL terminator 2021-01-26 18:22:35 -08:00
Kconfig spiffs/Kconfig: Mention that CONFIG_SPIFFS_MAX_NAME is an on-flash thing 2021-01-06 03:06:39 -06:00
Make.defs Change all 'Nuttx' to 'NuttX' 2020-10-20 01:45:06 -07:00
README-spiffs.md spiffs: Rename the upsteam readme to README-spiffs.md 2021-01-06 03:06:39 -06:00
README.md spiffs: Document how to generate images 2021-01-06 03:06:39 -06:00

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.