I am trying to use SPIFFS to store an html file and I want to change CONFIG_SPIFFS_META_LENGTH in my sdkconfig to CONFIG_SPIFFS_META_LENGTH=0.
When I do this through menuconfig or even manually edit the file, I check the build folder and the change is not there.
My sdkconfig location:
./amazon-freertos/vendors/espressif/boards/esp32/aws_demos/sdkconfig
sdkconfig:
#
# SPIFFS Configuration
#
CONFIG_SPIFFS_MAX_PARTITIONS=3
#
# SPIFFS Cache Configuration
#
CONFIG_SPIFFS_CACHE=y
CONFIG_SPIFFS_CACHE_WR=y
CONFIG_SPIFFS_CACHE_STATS=
CONFIG_SPIFFS_PAGE_CHECK=y
CONFIG_SPIFFS_GC_MAX_RUNS=10
CONFIG_SPIFFS_GC_STATS=
CONFIG_SPIFFS_PAGE_SIZE=256
CONFIG_SPIFFS_OBJ_NAME_LEN=32
CONFIG_SPIFFS_USE_MAGIC=y
CONFIG_SPIFFS_USE_MAGIC_LENGTH=y
CONFIG_SPIFFS_META_LENGTH=0
CONFIG_SPIFFS_USE_MTIME=y
#
# Debug Configuration
#
CONFIG_SPIFFS_DBG=
CONFIG_SPIFFS_API_DBG=
CONFIG_SPIFFS_GC_DBG=
CONFIG_SPIFFS_CACHE_DBG=
CONFIG_SPIFFS_CHECK_DBG=
CONFIG_SPIFFS_TEST_VISUALISATION=
But in the
./build/config/sdkconfig.h
the following line is present,
#define CONFIG_SPIFFS_META_LENGTH 4
Not sure why since I’ve made change in that sdkconfig file before and its worked. Any help would be appreciated. Thanks!