2019-08-26 09:21 PM
I would like to know percentage of memory usage of the ROM and the RAM of the microcontroller from output file.
note **
I use source from application example named BLE_p2pClient under the Projects directory of the STM32Cube_FW_WB_V1.2.0 FW pacakge.
2019-08-27 01:39 AM
You can access that information from the Build Analyzer view.
If you search for "Build Analyzer" in the Quick Access search bar you can open that view.
2019-08-28 01:13 AM
Hi Markus GIRDLAND
I installed SW4STM32 version 2.9 which download from "https://www.st.com/en/development-tools/sw4stm32.html"
I tried to search " Build Analyzer" in the Quick Access search bar but not found.
2019-08-28 11:55 PM
The Build Analyzer is only available in STM32CubeIDE, not in SW4STM32.
I misunderstood because the forum post has the tag/topic "STM32CubeIDE" so I thought that was the tool in question.
2019-08-30 02:40 AM
Hi Markus GIRDLAND
I able to check memory usage from "Build Analyzer" in STM32CubeIDE.
Thank you for support.
2021-06-25 11:35 PM
Same as Markus, but accessed different way: Window/Show View/Build Analyzer (I use STM32CubeIDE 1.6.1)
2024-10-03 01:36 PM
Hey,
you could add the linker option -Wl,--print-memory-usage to your project properties.
This will produce an output that looks something like this:
PS:
Always be yourself. Unless you can be a pirate. Then always be a pirate.