A tool to generate modular memory usage summry of MPLABX based PIC32 projects.
Details are in my blog.
- Make sure that compiler tools are added to system PATH (e.g. C:\Program Files\Microchip\xc32\v2.40\bin)
- Make sure that you have python 3 installed in your system.
- No special pyhton modules are required.
- unzip/clone tool to anywhere in the system.
- report will be geenrated in the build output folder (project.x\dist\project\curiosity)
usage: mapfileParse.py [-h] [-c <project config>] <project path to .X>
Tool to parse map file and provide component-wise memory usage of an embedded project
positional arguments:
<project path to .X>
optional arguments:
-h, --help show this help message and exit
-c <project config>, --config <project config>
specify a configuration name
Results will be generated in the build output folder (project.x\dist\project\curiosity). This includes :
1 | <project>_summary.csv | Modular summary of memroy |
2 | <project>_fileSize.csv | File wise memory usage |
3 | <project>_syms.csv | memory usage of symbols with associated files |
4 | <project>_clean.map | map file with non-linked sections removed from it |
Summary will look like this: