cancel
Showing results for 
Search instead for 
Did you mean: 

How to find the Flash and RAM size of functions

Dfinn.1
Associate II
 
3 REPLIES 3
mattias norlander
ST Employee

Hi,

You have the "build analyzer" view that can show the Flash size for each function.

RAM size for functions? Are you referring to how much stack they will consume once called?

If so the view called "Static stack analyzer" can help you with this.

Both are documented in the User Guide reached from Help > Information Center > Read STM32CubeIDE Documentation > STM32CubeIDE User Guide.

Does this answer the question, or did I missunderstand?

Dfinn.1
Associate II

Yes & Thank you !

Hi
What settings do I need to set so as to find the stack usage in the static analyzer ?
There are so many Settings in the IDE but which is the correct one here ?
thanks