AnsweredAssumed Answered

lpc18xx: issue with library function

Question asked by Manoj kumar on Sep 19, 2017

We are using LCP1857 device with MCU xpresso IDE v10.0.2 and LCPopen 3.1.

We have a debug framework using vprintf which is not working as expected. Details as below,

 

 

void DBG_Print(const char *format, ...)
{
 va_list args;
 va_start(args, format);
 vprintf(format, args);
 va_end(args);
}

............

DBG_Print("Uart debug\r\n);

 

 

When  above piece of code build with LPCxpresso 7.7.2 IDE it works it gives output as "Uart debug"

 

If we are using with MCUxpresso 10.0.2 it just gives the output "U".

Outcomes