Quantcast
Channel: Keil Discussion Forum RSS Feed
Viewing all articles
Browse latest Browse all 3049

ARM: Hardcoded Breakpoint Preventing Program From Running

$
0
0
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

Viewing all articles
Browse latest Browse all 3049

Trending Articles