How can I view the code size of my project?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How can I view the code size of my project?

1,728 Views
danielchampagne
Contributor II

I used to use CW version 6.3.1 in order to compile code for a MC9S08JM60 microcontroller.  Since this version of CW is not supported by Windows 7, I had to start using CW for MCU 10.6.4 (which is Eclipse-based).  I do not mind and I have figured out how to set up and compile my project.  The only thing is that I cannot see the code size for the project.  The older version of CW showed the size of the project (and of each individual file/module).

How can I see the code size using the new tool?

Labels (1)
0 Kudos
Reply
4 Replies

1,590 Views
BlackNight
NXP Employee
NXP Employee
0 Kudos
Reply

1,590 Views
danielchampagne
Contributor II

(The "Cross ARM GNU Print Size" option does not exist under the "Tool

Settings" tab.)

0 Kudos
Reply

1,590 Views
BlackNight
NXP Employee
NXP Employee

Hi Daniel,

if you have CW for MCU 10.6.4 installed with the ARM tools, then it comes with the size utility.

You can use it as described here: https://mcuoneclipse.com/2014/05/04/printing-code-size-information-in-eclipse/ with a 'post build' action.

The thing is that the S08 tools produce the .abs file which is a ELF/Dwarf file, which can be consumed by the size tool.

I hope this helps,

Erich

0 Kudos
Reply

1,590 Views
danielchampagne
Contributor II

Erich,

Thank you for the information. Unfortunately, it does not work for me

as the version of CW for MCU 10.6.4 I am using does not have that

option. It's not an ARM micro but an MC9S08JM60 micro.

Thank you

Daniel

0 Kudos
Reply