nuttx/fs/spiffs
Xiang Xiao 307cc61893 fs: Add fchstat and chstat callback into mountpt_operations
and implement all status related change function. the individual
file system change will provide in other upcoming patchset.

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I8fde9db8eba9586e9c8da078b67e020c26623cf4
2021-07-29 06:33:49 -03:00
..
docs Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
src fs: Add fchstat and chstat callback into mountpt_operations 2021-07-29 06:33:49 -03:00
Kconfig Fix typos reported by codespell 2021-02-25 11:31:49 -08:00
Make.defs Author: Gregory Nutt: update licenses to Apache 2021-02-05 12:15:56 -03: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.