incubator-nuttx/fs/spiffs
Xiang Xiao 1d1bdd85a3 Remove the double blank line from source files
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-20 20:10:14 +01:00
..
docs Remove the double blank line from source files 2022-02-20 20:10:14 +01:00
src nuttx:Change fs strncpy to strlcpy to avoid losing'\0' 2021-12-30 18:06:00 +08:00
Kconfig LICENSE: add fs/spiffs license 2021-08-30 22:39:04 +08:00
Make.defs Author: Gregory Nutt: update licenses to Apache 2021-02-05 12:15:56 -03:00
README-spiffs.md Remove the double blank line from source files 2022-02-20 20:10:14 +01:00
README.md spiffs: Document how to generate images 2021-01-06 03:06:39 -06:00

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.