AnsweredAssumed Answered

How to disable the SDK debug console?

Question asked by Ashley Duncan on Oct 4, 2016
Latest reply on Nov 2, 2016 by Ashley Duncan



Using SDK 2.0, I wish to not use the debug console and instead write my own handling for serial ports...


The problem is that the driver file fsl_common.c includes "fsl_debug_console.h".  fsl_debug_console.h defines SDK_DEBUGCONSOLE which in turn defines PRINTF as DbgConsole_Printf.  fsc_common.c calls PRINTF in its assert handler.  So, if DbgConsole_Printf does not exist (ie dont include fsl_debug_console.c in the build), the SDK drivers can not compile.


Any ideas?