2025-08-11 2:05 AM
Hello,
I am using a custom bootloader for firmware updates on an STM32F7 series MCU.
For my process, I need to check the maximum possible application size.
Could you please guide me on how I can calculate the application size from the generated .bin, .hex, or .elf files?
Also, how can I choose the slots to store the firmware.
Thanks in advance!
2025-08-11 2:28 AM
Welcome to the forum.
Please see How to write your question to maximize your chances to find a solution for best results.
@Harsh_Shakya wrote:For my process, I need to check the maximum possible application size.
What, exactly, do you mean by that?
The size is fixed when the project is built.
You haven't said what tools you're using, but any decent IDE will tell you the memory usage when it's built the project.
STM32CubeIDE gives a summary at the end of every build, and you can get further details using the Build Analyser:
2025-08-11 5:39 AM
The BIN size is the same as the application size. Using that one would be the most straightforward.