There is an issue (it's not a bug because of reasons) where
if you use armclang at -O0 optimisation with no parameters specified
in the main function, the initialisation code contains a coded
breakpoint. This will stop the code from running before main is
reached.
There are multiple work arounds including:
1) Using MicroLib
2) Disabling semihosting manually:
__asm(".global __use_no_semihosting\n\t");
Note that the following funcitons will ne
↧