Application code size

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

Application code size

2,450 Views
jesortsan
Contributor I
Hi,
 
How can I know the complete code size of my application once I've built the project? I mean the total space that the program will take up in the microcontroller memory.
 
Thanks
Labels (1)
0 Kudos
3 Replies

264 Views
Lundin
Senior Contributor IV
Check at the bottom of the .map file generated by the linker.
0 Kudos

264 Views
jesortsan
Contributor I
OK,
 
I suppose the code size is which appears in the last line of the .map file:
 
"Total size of all blocks to be downloaded: 563"
 
563 bytes in this case, isn't it?
 
Thanks
0 Kudos

264 Views
Lundin
Senior Contributor IV
Yep. And that should be the size of the nvm, since it doesn't count RAM.
0 Kudos