Custom partition not following the csv file

VormsThierry
Posts: 8
Joined: Fri Mar 30, 2018 4:38 pm

Custom partition not following the csv file

Postby VormsThierry » Mon Jul 17, 2023 9:13 pm

Hello,
I have an esp32 with 8 mo.
I do a csv partition file like that:

# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x24000
otadata, data, ota, 0x2D000, 0x2000
app0, app, ota_0, 0x30000, 0x3A0000
app1, app, ota_1, 0x3D0000, 0x3A0000

As you can see ther is no core dump partition, no spiff, etc.
When I run the ini program for displaying partition, I see:

ESP32 Partition table:

| Type | Sub | Offset | Size | Label |
| ---- | --- | -------- | -------- | ---------------- |
| 01 | 02 | 0x009000 | 0x005000 | nvs |
| 01 | 00 | 0x00E000 | 0x002000 | otadata |
| 00 | 10 | 0x010000 | 0x140000 | app0 |
| 00 | 11 | 0x150000 | 0x140000 | app1 |
| 01 | 82 | 0x290000 | 0x160000 | spiffs |
| 01 | 03 | 0x3F0000 | 0x010000 | coredump |

So, even I select my custom partition, with the erase all flash enabled the partition table is not following my custom partition.
What I am missed ?
Many thanks for your help

lbernstone
Posts: 826
Joined: Mon Jul 22, 2019 3:20 pm

Re: Custom partition not following the csv file

Postby lbernstone » Mon Jul 17, 2023 9:29 pm

To use a custom partition, you must name the file partitions.csv in your sketch folder.
https://docs.espressif.com/projects/ard ... table.html

Who is online

Users browsing this forum: No registered users and 36 guests