Skip to main content
Dfinn.1
Associate
May 28, 2021
Question

How to find the Flash and RAM size of functions

  • May 28, 2021
  • 2 replies
  • 1783 views

..

This topic has been closed for replies.

2 replies

mattias norlander
ST Employee
May 28, 2021

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
Dfinn.1Author
Associate
May 28, 2021
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
Dfinn.1
Dfinn.1Author
Associate
May 28, 2021

Yes & Thank you !