2024-10-08 2:28 AM
Hi,
When compiling program using Keil IDE, understand that the program size that flash to MCU can be calculate by:
Program size = Code + RO + RW
However, when compiling using STM32CubeIDE, how to know the program size going to flash into the MCU flash memory? I got the following memory details as below.
Is the program size = text + data?
Solved! Go to Solution.
2024-10-08 4:51 AM
> Is the program size = text + data?
Yes, for a standard program that's the amount that will be sent to flash.
As @Andrew Neil says, the Build Analyzer (Window -> Show View -> Build Analyzer) will show this and more detailed information.
2024-10-08 2:59 AM
The Build Analyzer tells you:
https://wiki.st.com/stm32mcu/wiki/Category:STM32CubeIDE
2024-10-08 4:51 AM
> Is the program size = text + data?
Yes, for a standard program that's the amount that will be sent to flash.
As @Andrew Neil says, the Build Analyzer (Window -> Show View -> Build Analyzer) will show this and more detailed information.