Chapter 4. API Guides
• IRAM - is the same as for the totals shown above (code linked to execute from IRAM, uses space in the binary
file and also reduces DRAM available as heap at runtime.
• Flash code & rodata - these are the same as the totals above, IROM and DROM space accessed from
flash cache that contribute to the binary size.
Source File Usage Summary (idf.py size-files) For even more detail, run idf.py size-files to get a
summary of the contribution each object file has made to the final binary size. Each object file corresponds to a single
source file.
$ idf.py size-files
[...]
Total sizes:
DRAM .data size: 14956 bytes
DRAM .bss size: 15808 bytes
Used static DRAM: 30764 bytes ( 149972 available, 17.0% used)
Used static IRAM: 83918 bytes ( 47154 available, 64.0% used)
Flash code: 559943 bytes
Flash rodata: 176736 bytes
Total image size:~ 835553 bytes (.bin may be padded larger)
Per-file contributions to ELF file:
Object File DRAM .data & .bss & other IRAM D/IRAM Flash code &␣
,→rodata Total
x509_crt_bundle.S.o 0 0 0 0 0 0 ␣
,→64212 64212
wl_cnx.o 2 3183 0 221 0 13119 ␣
,→3286 19811
phy_chip_v7.o 721 614 0 1642 0 16820 ␣
,→ 0 19797
ieee80211_ioctl.o 740 96 0 437 0 15325 ␣
,→2627 19225
pp.o 1142 45 0 8871 0 5030 ␣
,→537 15625
ieee80211_output.o 2 20 0 2118 0 11617 ␣
,→914 14671
ieee80211_sta.o 1 41 0 1498 0 10858 ␣
,→2218 14616
lib_a-vfprintf.o 0 0 0 0 0 13829 ␣
,→752 14581
lib_a-svfprintf.o 0 0 0 0 0 13251 ␣
,→752 14003
ssl_tls.c.o 60 0 0 0 0 12769 ␣
,→463 13292
sockets.c.o 0 648 0 0 0 11096 ␣
,→1030 12774
nd6.c.o 8 932 0 0 0 11515 ␣
,→314 12769
phy_chip_v7_cal.o 477 53 0 3499 0 8561 ␣
,→ 0 12590
pm.o 32 364 0 2673 0 7788 ␣
,→782 11639
ieee80211_scan.o 18 288 0 0 0 8889 ␣
,→1921 11116
lib_a-svfiprintf.o 0 0 0 0 0 9654 ␣
,→1206 10860
lib_a-vfiprintf.o 0 0 0 0 0 10069 ␣
,→734 10803
ieee80211_ht.o 0 4 0 1186 0 8628 ␣
,→898 10716
phy_chip_v7_ana.o 241 48 0 2657 0 7677 ␣
,→ 0 10623
bignum.c.o 0 4 0 0 0 9652 ␣
,→752 10408
(continues on next page)
Espressif Systems 1446
Submit Document Feedback
Release v4.4