AnsweredAssumed Answered

NXP_Kinetis_Bootloader_2_0_0 debug_printf

Question asked by Zhang Huarong on Dec 9, 2016
Latest reply on Sep 13, 2018 by Jerome Pitt

Hi,

I found the debug_printf function in NXP_Kinetis_Bootloader_2_0_0.

but the function do not put char to a uart,and i can not found the terminal uart init function.

 

static inline void debug_printf(const char *format, ...)
{
va_list args;
va_start(args, format);
vprintf(format, args);
// Temporarily disable MISRA rule 14.2
#if defined(__ICCARM__)
#pragma diag_suppress = Pm049
#endif
va_end(args);
#if defined(__ICCARM__)
#pragma diag_default = Pm049
#endif
}

Outcomes