APP Binary file size biged than 1M,How to bulid and download?
APP Binary file size biged than 1M,How to bulid and download?
partition tables, ESP32 DOWNLOAD TOOL V3.4.9.2,
Re: APP Binary file size biged than 1M,How to bulid and download?
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.
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.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32
Re: APP Binary file size biged than 1M,How to bulid and download?
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?kolban wrote: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.
Re: APP Binary file size biged than 1M,How to bulid and download?
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
Re: APP Binary file size biged than 1M,How to bulid and download?
it is my partition table:jumjum123 wrote: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,
Re: APP Binary file size biged than 1M,How to bulid and download?
@zhoupeng ... personally, Ive never used anything other than the esptool Python script through the ESP-IDF build system. Does using the ESP-IDF built and flash system work for you? If not, can you post the underlying errors that are reported?
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32
Who is online
Users browsing this forum: No registered users and 101 guests