lpc18xx: issue with library function

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

lpc18xx: issue with library function

622 Views
manojkumar_1
Contributor I

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".

Labels (1)
0 Kudos
0 Replies