How to calculate Flash and RAM size

cancel
Showing results for 
Search instead for 
Did you mean: 

How to calculate Flash and RAM size

288 Views
NXP Employee
NXP Employee

Hello Team, 

 

After build, how can I check the used flash and RAM size?

I found the 'print size' in properties, so I think I can check the flash size of the code, is it correct?

 

175771_175771.pngpastedImage_1.png

 

Best regards,

Kate Lee

Labels (1)
0 Kudos
2 Replies

14 Views
NXP Employee
NXP Employee

Hi Kate,

here is a detailed explanation: text, data and bss: Code and Data Size Explained | MCU on Eclipse 

as there are multiple things: code, constant data, variable initialized data and non-initialized variable data.

I hope this helps,

Erich

0 Kudos

14 Views
NXP Employee
NXP Employee

Hello, 

Message in the console is output from GNU size utility. The meaning is:

text & data is number of bytes stored in the FLASH and bss is amount of bytes used in the RAM. 

Jiri

0 Kudos