2023-03-19 04:16 PM
Hi,
After compiling my project I noticed that I have the flash on my H743 is almost full. When I checked the Memory Details under the Build Analyser I found that all of my screen functions repeated two times. The attached sreenshot shows more clearly what I mean. Could anyone tell if it is a necessity for some reason or am I doing something wrong?
Many thanks,
Namik
Solved! Go to Solution.
2023-03-20 12:18 AM
The addresses for each "function pair" are identical, though, so I'd say the functions are not doubled, only the tool you use to display them is confused.
Try to enable compiler optimization.
JW
2023-03-19 04:40 PM
Can you show the linker script?
2023-03-20 12:18 AM
The addresses for each "function pair" are identical, though, so I'd say the functions are not doubled, only the tool you use to display them is confused.
Try to enable compiler optimization.
JW
2023-03-20 12:34 AM
2023-03-20 02:01 AM
I agree with @waclaweck.jan the functions do not seem to be doubled, just displayed twice (maybe flashed twice at the same addresses ? which would increase the flashing time for no reason). Could you add the "STM32CubeIDE" tag to your post ? Maybe someone with more knowledge on the tool will chip in.
/Romain
2023-03-22 04:26 AM
Many thanks