Application code size

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Application code size

2,476 次查看
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
标签 (1)
0 项奖励
3 回复数

290 次查看
Lundin
Senior Contributor IV
Check at the bottom of the .map file generated by the linker.
0 项奖励

290 次查看
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 项奖励

290 次查看
Lundin
Senior Contributor IV
Yep. And that should be the size of the nvm, since it doesn't count RAM.
0 项奖励