ROM Size tool

This tool shows the romsize of all all units of a project together with rom-size details of a selected unit.

The software:


The tool is started up from within the mP/mC/mB IDE, one of the IDE "tools" is programmed (see section "How to make it work from within the IDE") to start up the tool and pass the currently selected project to it (which has to be "compiled" beforehand).

On startup, the list file of the project is loaded automatically and the tool shows this window:


The left side pane shows the units in the project, the left pane shows the rom items (functions, procedures or constants) of the unit selected in the left pane.
For both left and right pane the user can choose for ordering by name, size (in this case the highest size is on top), unit or type (Routine or Constant) .
If wanted, one can reload a new version of the listfile (after e.g. recompiling the project) by hitting "Reload".

How to make it work from within the IDE

To make the tool work from within the mP IDE the tool must be added in the "Tools" (Tools menu --> Options --> Tools --> Toolx) menu:


As you can see, the path to the tool must be given and one parameter: "%PROJECT_FILE_NAME". Do not forget to hit "Insert" after you have chosen the parameter.

IMPORTANT: Be sure that "Include Source Lines in the Output Files" is checked in menu Tools -> Options -> Output -> OutputSetting.