APP Binary file size biged than 1M,How to bulid and download?
Posted: Mon Nov 13, 2017 9:06 am
partition tables, ESP32 DOWNLOAD TOOL V3.4.9.2,
ESP32 Official Forum
https://esp32.com/
thank you,i will try to do.and i have tried to modify "partitions_singleapp.csv"and modify the factory APP size to 2M,but it is err when download throng the ESP32 download tool v3.4.9.2. its right?I believe that the default partition size for factory app has a size of 1MByte ... see
http://esp-idf.readthedocs.io/en/latest ... ables.html
When I have an app larger than this, I create a custom partition file and specify a larger size (the ESP32 has 4MByte of flash). You can define the partition configuration file you wish to use in the "make menuconfig" settings.
Code: Select all
#Name, Type, SubType, Offset, Size, Flags
#boot, data, , 0x1000, 0x1000
partition, data, , 0x8000, 0x1000
nvs, data, nvs, 0x9000, 0x4000
otadata, data, ota, 0xd000, 0x2000
phy_init, data, phy, 0xf000, 0x1000
factory, app, factory, 0x10000, 0x140000
ota_0, app, ota_0, 0x150000, 0x140000
js_code, data, , 0x2f0000, 0x10000
storage, data, , 0x300000, 1Mit is my partition table:I'm working with a table like this:I would recommend to create your own table and not to edit standard table.Code: Select all
#Name, Type, SubType, Offset, Size, Flags #boot, data, , 0x1000, 0x1000 partition, data, , 0x8000, 0x1000 nvs, data, nvs, 0x9000, 0x4000 otadata, data, ota, 0xd000, 0x2000 phy_init, data, phy, 0xf000, 0x1000 factory, app, factory, 0x10000, 0x140000 ota_0, app, ota_0, 0x150000, 0x140000 js_code, data, , 0x2f0000, 0x10000 storage, data, , 0x300000, 1M
Code: Select all
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x4000,
phy_init, data, phy, 0xf000, 0x1000,
factory, app, factory, 0x10000, 2M,