Skip to content

a tool to generate summarized memory usage of PIC32 MPLABX projects

Notifications You must be signed in to change notification settings

vppillai/MPLABXMemoryAnalyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

A tool to generate modular memory usage summry of MPLABX based PIC32 projects.

Details are in my blog.

Usage

  • 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

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:

Latest release Latest release date GitHub commit activity Contributors

About

a tool to generate summarized memory usage of PIC32 MPLABX projects

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages