Djordje Nedic
3b047f7572
fix: noload being included in ram and flash sizes
...
This fixes noload sections being included in the total flash and ram
size calculations. These sections represent things that already exist in
the rom or flash in different partitions and are not a part of the app.
2023-08-11 22:32:11 +02:00
Djordje Nedic
1c35538b96
idf_size.py: Fix issue where diram size was halved in cases where iram was not fully filled with cache
...
This fixes an attempted fix for diram size calculation where it was counted twice, however the fix did not account for cases where iram was not fully filled with cache and therefore was of non 0 size.
Now the calculation should be correct regardless of the cache size.
Closes https://github.com/espressif/esp-idf/issues/9960
Fix expected output
2022-12-19 14:33:10 +01:00
simon.chupin
38ba3d16ff
add test for checking memory segments with esptool.py
2022-01-17 20:47:35 +08:00
simon.chupin
cd5e830445
tools: add json schema for idf_size
2021-11-10 16:21:50 +01:00
simon.chupin
a7be2cb9bb
Tools: update idf_size.py types to pep-484 format
2021-09-24 15:42:36 +08:00
simon.chupin
844dd5075f
Tools: make idf_size work with overflow
...
Closes https://github.com/espressif/esp-idf/issues/6914
closes https://github.com/espressif/esp-idf/issues/4234
2021-09-16 14:12:46 +02:00
simon.chupin
294f9783fc
Tools: Fix memory calculations of idf_size.py
2021-08-11 17:51:51 +02:00
Michael (XIAO Xufeng)
064f12cb90
idf_size.py: fixed diram counted twice issue, and improve display
...
Currently static RAM usage are listed under corresponding physical
memory.
ld: fix linker script for C3 and S3
2021-08-11 17:51:50 +02:00
Roland Dobai
511135989c
tools: Autodetect the target of MAP files in idf_size.py
2020-04-22 13:12:56 +02:00
Ivan Grokhotkov
e94288da31
global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs
...
Using the method from @cemeyer
(https://github.com/espressif/esp-idf/pull/3166 ):
find . -name \*.sh -exec sed -i "" -e 's|^#!.*bin/bash|#!/usr/bin/env bash|' {} +
Closes https://github.com/espressif/esp-idf/pull/3166 .
2020-04-03 01:10:02 +02:00
Roland Dobai
66271f7a86
tools: Support showing differences of MAP files in JSON format
2020-03-23 12:04:07 +01:00
Roland Dobai
c81243b92b
tools: Add option to show differences between MAP files with idf_size.py
2020-03-23 12:04:07 +01:00
Roland Dobai
2816c3c536
tools: Fix idf_size.py
2020-02-28 11:55:53 +01:00
Jakob Hasse
53aadafac8
idf_size.py: can alternatively write data to file
...
* Also Changed json separators - no spaces at eol
2020-01-02 09:33:51 +08:00
Angus Gratton
05be37c87c
idf_size: Support JSON output
...
Pass -DOUTPUT_JSON=1 to get JSON formatted output from CMake targets
2019-05-29 17:11:53 +10:00
Roland Dobai
5cdff46370
tools: Support Python 3 in idf_size.py
2018-08-27 13:39:07 +02:00