cancel
Showing results for 
Search instead for 
Did you mean: 

Memory usage of screens, text, code, etc

Priyank
Associate III

Hi, I want to see how much certain parts of my stm32 application are taking up in the flash storage. Is there any way to view this? 

2 REPLIES 2
Ghofrane GSOURI
ST Employee

Hello @Priyank 

Flash usage: Check the Build analyzer view or the map-file. It can show you how much flash is used (at compile-time).

Please check this post for more information 

THX

Ghofrane

See the map file; aka Linker listing.

CubeIDE Build Analyser:

https://www.st.com/resource/en/user_manual/dm00629856-.pdf#page=127

See also the nm utility:

https://sourceware.org/binutils/docs/binutils/nm.html