EasyManua.ls Logo

Espressif ESP32-S2 - Page 1235

Espressif ESP32-S2
1695 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 2. API Reference
Yes (enabled)
CONFIG_SPIFFS_META_LENGTH
Size of per-file metadata field
Found in: Component config > SPIFFS Configuration
This option sets the number of extra bytes stored in the file header. These bytes can be used in an
application-specific manner. Set this to at least 4 bytes to enable support for saving file modification
time.
SPIFFS_OBJ_NAME_LEN + SPIFFS_META_LENGTH should not exceed SPIFFS_PAGE_SIZE -
64.
Default value:
4
CONFIG_SPIFFS_USE_MTIME
Save file modification time
Found in: Component config > SPIFFS Configuration
If enabled, then the first 4 bytes of per-file metadata will be used to store file modification time (mtime),
accessible through stat/fstat functions. Modification time is updated when the file is opened.
Default value:
Yes (enabled)
CONFIG_SPIFFS_MTIME_WIDE_64_BITS
The time field occupies 64 bits in the image instead of 32 bits
Found in: Component config > SPIFFS Configuration
If this option is not set, the time field is 32 bits (up to 2106 year), otherwise it is 64 bits and make
sure it matches SPIFFS_META_LENGTH. If the chip already has the spiffs image with the time
field = 32 bits then this option cannot be applied in this case. Erase it first before using this op-
tion. To resolve the Y2K38 problem for the spiffs, use a toolchain with support time_t 64 bits (see
SDK_TOOLCHAIN_SUPPORTS_TIME_WIDE_64_BITS).
Default value:
No (disabled) if CONFIG_SPIFFS_META_LENGTH >= 8
Debug Configuration Contains:
CONFIG_SPIFFS_DBG
CONFIG_SPIFFS_API_DBG
CONFIG_SPIFFS_CACHE_DBG
CONFIG_SPIFFS_CHECK_DBG
CONFIG_SPIFFS_TEST_VISUALISATION
CONFIG_SPIFFS_GC_DBG
CONFIG_SPIFFS_DBG
Enable general SPIFFS debug
Found in: Component config > SPIFFS Configuration > Debug Configuration
Enabling this option will print general debug mesages to the console.
Default value:
No (disabled)
Espressif Systems 1224
Submit Document Feedback
Release v4.4

Table of Contents