I look several example DbgConsole_Printf or printf for debug information.
What is the difference between the two?
What is the best way to complete disable debug string on Release?
Thank you in advance!
Hello Fabio Benevento,
Please share more information,
-Which IDE ?
-Which chip ?
-What about your project ?
IDE - MCUXpresso
BOARD - FRDM-K64F
Project - Custom project based on usb mouse-keyboard with FREERTOS example. This project have several usb_echo call that print on console/uart using DbgPrintf. I would disable all this print on Release but I don't find a preprocessor define that do this.
When you import SDK demo project, you can choose "NewlibNano(none)"， it will not print to debug console :
Retrieving data ...