Partitions.csv not taken into account

whogarden
Posts: 2
Joined: Thu Jul 27, 2017 3:12 pm

Partitions.csv not taken into account

Postby whogarden » Wed Feb 08, 2023 10:57 am

Hello,
I'am using Arduino IDE 1.8.19 and ESP32 dev board 4MB.
with ESP32 arduino core 2.0.5 the size of my sketch was 1 945 673 Bytes
But with the new ESP32 arduino core 2.0.6 the size has grown to 1 977 001 Bytes.
the max size with 'minimal spiffs' is 1 966 080 Bytes, so I can't flash the sketch.
I created this 'partitions.csv'
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x5000,
otadata, data, ota, 0xe000, 0x2000,
app0, app, ota_0, 0x10000, 0x1F0000,
app1, app, ota_1, 0x200000,0x1F0000,
spiffs, data, spiffs, 0x3F0000,0x10000,
I saved this file next to the .ino file and named it 'partitions.csv'
In the AppData\\Local\\Temp\\arduino_build_xxxxxx the partitions.csv is the good one (2 097 152 Bytes expected).
but when complilation is done the maximum size is always the same (1 966 080 Bytes).
Can you help me?

whogarden
Posts: 2
Joined: Thu Jul 27, 2017 3:12 pm

Re: Partitions.csv not taken into account

Postby whogarden » Tue Feb 21, 2023 5:57 pm

I found the answer.
There is a limitation associated to 'Minimal SPIFFS' in 'boards.txt'
If I use 'Huge APP' and my own 'partitions.csv' it's working perfectly
But I don't understand why the limitation of 'boards.txt' is used while I define my own partitions

Who is online

Users browsing this forum: Google [Bot] and 101 guests