I have customized the partition table of ESP32 using the python script gen_esp32part.py . The contents of the new bin file are as below:
C:\Python27>python gen_esp32part.py default.bin
Parsing binary partition input...
Verifying table...
# Espressif ESP32 Partition Table
# Name, Type, SubType, Offset, Size, Flags
nvs,data,nvs,0x9000,20K,
otadata,data,ota,0xe000,8K,
app0,app,ota_0,0x10000,1280K,
app1,app,ota_1,0x150000,1280K,
eeprom0,data,153,0x290000,4K,
eeprom1,data,153,0x291000,4K,
eeprom2,data,153,0x292000,4K,
eeprom3,data,153,0x293000,4K,
spiffs,data,spiffs,0x294000,1456K,
After generating the new default.bin I used it to replace the existing default.bin located in .../esp32/tools/partitions folder. However the partition table on the device is not updating according to the new binary file. Please guide.
Updating ESP32 partition table
- ESP_Roland
- Posts: 265
- Joined: Tue Oct 09, 2018 10:28 am
Re: Updating ESP32 partition table
If you setup a custom partition table in the Partition Table section of menuconfig then no replacing will be necessary.
Further information can be found here: https://docs.espressif.com/projects/esp ... ables.html.
Further information can be found here: https://docs.espressif.com/projects/esp ... ables.html.
Who is online
Users browsing this forum: No registered users and 147 guests