How to find the size of every .c file in .map file about S32DS?

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

How to find the size of every .c file in .map file about S32DS?

2,298 Views
wujinhui
Contributor I

the flash of my MCU is limited,the code is large.

I want to reduce the size of my code.So,I want to the size of every .c file in .map file .

where can i find ?

Labels (1)
Tags (3)
0 Kudos
Reply
2 Replies

2,048 Views
BlackNight
NXP Employee
NXP Employee

You could use the GNU size utility for this, see Listing Code and Data Size for each Source File with GNU and Eclipse | MCU on Eclipse 

I hope this helps,

Erich

2,049 Views
wujinhui
Contributor I

I have succeeded by your suggestion.

QQ截图20170424113429.png

0 Kudos
Reply