idf.py size does not product the
Posted: Tue Jul 23, 2024 12:41 am
I am wanting to view the "Memory Type Usage Summary" as described in https://docs.espressif.com/projects/esp ... -size.html
This is supposed to look like this:
But when I run idf.py size I only get the following:
Is it still possible to get the table documented above and if so, how?
Thanks
This is supposed to look like this:
- Size Summary idf.py size
- This output provides a summary of the statically-allocated memory for different memory types in the firmware binary:
- $ idf.py size
- Memory Type Usage Summary
- ┏━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
- ┃ Memory Type/Section ┃ Used [bytes] ┃ Used [%] ┃ Remain [bytes] ┃ Total [bytes] ┃
- ┡━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
- │ Flash Code │ 80666 │ 2.41 │ 3261638 │ 3342304 │
- │ .text │ 80666 │ 2.41 │ │ │
- │ IRAM │ 51835 │ 39.55 │ 79237 │ 131072 │
- │ .text │ 50807 │ 38.76 │ │ │
- │ .vectors │ 1027 │ 0.78 │ │ │
- │ Flash Data │ 38224 │ 0.91 │ 4156048 │ 4194272 │
- │ .rodata │ 37968 │ 0.91 │ │ │
- │ .appdesc │ 256 │ 0.01 │ │ │
- │ DRAM │ 11236 │ 6.22 │ 169500 │ 180736 │
- │ .data │ 8988 │ 4.97 │ │ │
- │ .bss │ 2248 │ 1.24 │ │ │
- │ RTC SLOW │ 24 │ 0.29 │ 8168 │ 8192 │
- │ .rtc_slow_reserved │ 24 │ 0.29 │ │ │
- └───────────────────────┴──────────────┴──────────┴────────────────┴───────────────┘
- Total image size: 179712 bytes (.bin may be padded larger)
- Total sizes:
- Used static DRAM: 38564 bytes ( 142172 remain, 21.3% used)
- .data size: 15692 bytes
- .bss size: 22872 bytes
- Used static IRAM: 96414 bytes ( 34658 remain, 73.6% used)
- .text size: 95387 bytes
- .vectors size: 1027 bytes
- Used Flash size : 1280471 bytes
- .text: 1045331 bytes
- .rodata: 234884 bytes
- Total image size: 1392577 bytes (.bin may be padded larger)
Thanks