10 years, 2 months ago.

KL25Z runtime error LED not working with Keil compiler?

Using the KL25Z, i noticed something annoying when i export code containing a runtime error to KEIL :
When we compile/upload/run a program using the online compiler, the runtime error LED starts blinking.
When the same program is exported to KEIL uVision5, compile/upload/run using KEIL, the runtime error LED does not blink.

This can be easily reproduced by importing the HelloWorld example into KEIL and add PwmOut test(NC); to force a runtime error. Compile and upload works fine but the runtime LED does not work.
Is this normal behavior?

Be the first to answer this question.