Maclain Lobdell

tip: printing codesize to console

Discussion created by Maclain Lobdell Employee on Oct 8, 2014
Latest reply on Oct 8, 2014 by Erich Styger

Hi,

Just posting a tip that I found.  If you are like me and hate combing through a map file just for a quick look at a project's codesize, then luckily there is a nice utility built into Kinetis Design Studio from the GCC Toolchain.  I noticed that the switch to turn this on is in a different place than it was in CodeWarrior.

 

Go to Project…Properties…C/C++ Build…Settings…

 

On the Toolchains tab check Print size

 

printsize.PNG.png

 

Now you will see code size information in the Console window when you build the entire project.

kds_print_size_example.PNG.png

Mac

Outcomes