Esp32-wroom-32e

Hello, I’m using expressif ESP32-wroom-32E raw module on custom PCB.

I’m currently using as board esp32dev and it works fine. But the default is for a 4MB, I have 8MB.

I didn’t find any way to change that, probably a lack of knowledge on my part about Platformio. How is it possible, probably in a settings file, that I use a module with 8MB and not 4MB?

Thanks for your help.

regards.

You will have to make a new partition file for the project, like this example:

Partition file: ‘ESP32_OTA_8M.csv’:

# Name,   Type, SubType, Offset,  Size, Flags
nvs,      data, nvs,     ,        0x4000,
otadata,  data, ota,     ,        0x2000,
phy_init, data, phy,     ,        0x1000,
factory,  app,  factory, ,        1M,
app0,     app,  ota_0,   ,        3M,
app1,     app,  ota_1,   ,        3M,

and point to it from the platformio.ini file:
board_build.partitions = ESP32_OTA_8M.csv

Of cause the partition file should match your project. Have a look at this documentation:
Partition Tables - ESP32 - — ESP-IDF Programming Guide latest documentation (espressif.com)

1 Like

Thank you, very interesting.
Where do I write (in wich folder?) this partition file: ‘ESP32_OTA_8M.csv’:

In the root of the project, where the platformio.ini file is located.