Hello,
my sketch includes large images for use with EEZ Studio UI and compiles to a binary sizes exceeding the Nano ESP32 maximum app size of ~3M. As the Nano has 16M flash I'm hoping to be able to increase the size of the app partition to at least 10M. How could I achieve that?
I don't need OTA or FAT, so a single app partition is fine for me.
However, I'm a bit lost how I can customize the partition table for the Nano ESP32 and use it.
Is there a recommended way to achieve this?
What I tried so far:
IDE v2.3.4 lets me choose between "with FAT partition (default)" and "with SPIFFS partition (advanced), which don't make a difference for me in max app size.
It seems like for general ESP32 boards there is an option "custom partition", but that is not available for Nano ESP32.
I tried placing a custom "partitions.csv" file in my sketch folder, its content seems to be ignored, max app size is still the 3M. When I edit the file to have invalid entries I get an error message, so the file is somehow recognized.
I also tried following the steps in Arduino Nano ESP32 Partition Problem with dfu-util without success. Always the same error message with the same size limit.
In a desperate move I even tried modifying the partition files located in \AppData\Local\Arduino15\packages\arduino\hardware\esp32\2.0.18-arduino.5\tools\partitions, but with no effect either.
To my surprise, even when I delete the complete content of that folder the IDE would still compile my code and terminate with the "Sketch is too big" error.
Any help or hint how to proceed here is welcome.
Thank you in advance!