Hi,
I am working on a project with S3A7 and I have the project optimized to -O2, but now I need to optimize it to -O0. The problem is that optimizing to -O0 increases the start-up time.
Is there any solution so that the startup time is the minimum and the project is at -O0?
Best regards!
Hello,
The increase of execution of startup time with O0 is expected because the code is not optimized:
https://gcc.gnu.org/onlinedocs/gnat_ugn/Optimization-Levels.html
developer.arm.com/.../GCC-optimization-options
But is there any way to optimize bsp or ssp so that it starts earlier and then my code runs at -O0?
The only setting on SSP that I am aware of and could have an effect on the execution time is to disable the Parameter checking: