How to calculate Flash and RAM size

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to calculate Flash and RAM size

3,347件の閲覧回数
leekate-b45752
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

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

3,073件の閲覧回数
BlackNight
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 件の賞賛
返信

3,073件の閲覧回数
jiri_kral
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 件の賞賛
返信