Forum Discussion
naand
New Contributor
1 year agoHi,
I have news about what optimization flag is responsible for the problem; the flag is the -finline-small-functions.
Another test I did was to set the variable flag_status, used to check the Flash status, as volatile, but nothing changed (the flag_status is found in the flash_write_function.c file attached in the first message).
Are there any updates on how to disable optimization for a specific block of code?
Thanks.
Best Regards,
naand