cancel
Showing results for 
Search instead for 
Did you mean: 

Memory usage of screens, text, code, etc

Priyank
Senior

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

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

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

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.