Real firmware size
Posted: Sat Oct 19, 2019 9:24 am
Hi all,
I've searched around for this on the docs and this forum but can't find a conclusive answer. Which firmware size counts when calculating remaining space with regards to the given partition table?
For example: I'm having a standard OTA partition table:
The output of make size on my project is:
Since 1063377 > 1048576 (1M = 1024*1024), I suppose what counts is 663732+313472=977204 bytes then?
Thanks,
Vincent
I've searched around for this on the docs and this forum but can't find a conclusive answer. Which firmware size counts when calculating remaining space with regards to the given partition table?
For example: I'm having a standard OTA partition table:
Code: Select all
# Espressif ESP32 Partition Table
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x4000,
otadata, data, ota, 0xd000, 0x2000,
phy_init, data, phy, 0xf000, 0x1000,
factory, 0, 0, 0x10000, 1M,
ota_0, 0, ota_0, 0x110000, 1M,
ota_1, 0, ota_1, 0x210000, 1M,
Code: Select all
Total sizes:
DRAM .data size: 12764 bytes
DRAM .bss size: 105184 bytes
Used static DRAM: 117948 bytes ( 62788 available, 65.3% used)
Used static IRAM: 73409 bytes ( 57663 available, 56.0% used)
Flash code: 663732 bytes
Flash rodata: 313472 bytes
Total image size:~1063377 bytes (.bin may be padded larger)
Thanks,
Vincent