mirror of https://github.com/ARMmbed/mbed-os.git
This commit fixes an issue where the output from memap.py was not consistent across all output formats. This issue stemmed from the fact that a few important calculations were being performed at output generation time. This has been moved to the 'parse' function and saved for future use by the 'generate' functions. Because this commit saves more data to the MemapParser instance, there were some name collisions. The public member 'mem_summary' has been renamed to 'mem_report'. 'mem_report' contains the data structure used by the json generator. This includes both the section data and the memory summary. The 'mem_summary' member now just contains the summary. The summary includes total allocated heap, total static RAM, etc. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| arm.py | ||
| gcc.py | ||
| iar.py | ||