AnsweredAssumed Answered

Is there away to use #ifndef DEBUG to change the compiled code when in debug mode?

Question asked by Tim on Sep 6, 2017
Latest reply on Sep 11, 2017 by Kader.M

I have as a last resort a hard reset in my release code that I don't want to run while connected to the ICE during debug. 

 

ifndef(DEBUG)
 abort();
#else
  /* DSP HARD RESET  */

 

Is there a way to have the RELEASE/DEBUG compile option recognized?

Outcomes