lpc18xx: issue with library function

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

lpc18xx: issue with library function

638件の閲覧回数
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".

ラベル(1)
0 件の賞賛
0 返答(返信)