Hi,
I have a strange issue with not being able to increase the spiffs memory alocation using custom partition table. Let me give you the details on what works and what not.
My platformio.ini
:
[env]
platform = espressif32@6.3.2
board = esp32dev
framework = espidf
platform_packages = framework-espidf
upload_speed = 921600
monitor_speed = 115200
monitor_raw = true
board_build.partitions = partitions_4mb_spiffs_not_working.csv
Using the following partitions_4mb_spiffs_not_working.csv
:
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x6000,
phy_init, data, phy, 0xf000, 0x1000,
factory, app, factory, , 1500K,
storage, data, spiffs, , 2M,
I get the issue that spiffs cannot be mounted, no matter what I do. I already enabled CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
via config menu.
E (625) SPIFFS: mount failed, -10025
E (625) SPIFFS: Init failed (ESP_FAIL)
The following partition table works without issues:
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x6000,
phy_init, data, phy, 0xf000, 0x1000,
factory, app, factory, , 1M,
storage, data, spiffs, , 1M,
Am I doing something wrong here?