How to identify if the program is is the debugging state, if checked it is in the debugging state hoslitically how to disable the identifier "printf".
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
How to identify if the program is is the debugging state, if checked it is in the debugging state hoslitically how to disable the identifier "printf".
Not clear about our question, in or not in debugging state depends on if you connect debugger and go into debug mode in CCS or IAR.
To disable printf, I recommend you to use select compilation #ifdef to enable printf or disable it .
**Attention** This is a public forum