I’m using an ESP32-WROOM with 16MB and Visual Studio. I created a program that works correctly with the standard settings:
plotfomio.ini
[env:esp32dev]
platform = espressif32
board = esp32dev
framework = arduino
board_build.partitions = default_16MB.csv
However, the program is expanding and I’m running out of space for downloads in SPIFFS. I purchased the ESP32 with 16MB, and when I create a program to print the flash size, it shows 16MB. But when I compile, it still shows:
PLATFORM: Espressif 32 (6.8.1) > Espressif ESP32 Dev Module
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
Even if I set board_build.partitions = default_16MB.csv
, it still shows 4MB of flash.
Can you tell me how to compile it with 16MB, increasing both SPIFFS and the program areas?