Hi. I am trying to follow this example but after running an application I get “Mounting error”, after which the app formats the spiffs partition and reads an empty file.
# Name, Type, SubType, Offset, Size, Flags
# Note: if you have increased the bootloader size, make sure to update the offsets to avoid overlap
nvs, data, nvs, , 0x6000,
phy_init, data, phy, , 0x1000,
factory, app, factory, , 2M,
spiffs, data, spiffs, , 1M,
I also tried storage, data, spiffs, , 1M, as last line.
my .ini file is like this
[env]
platform = espressif32
framework = arduino, espidf
build_flags =
-D CONFIG_BLINK_GPIO=2
-D ESP32
monitor_speed = 115200
platform_packages =
framework-arduinoespressif32 @ https://github.com/marcovannoord/arduino-esp32.git#idf-release/v4.0
[env:esp32dev]
board = esp32dev
board_build.filesystem = spiffs
upload_port = COM10
board_build.partitions = partitions.csv
lib_deps =
ESP Async WebServer
ESPAsyncTCP
me-no-dev/ESPAsyncTCP@^1.2.2