This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320C6678: 串口打印程序由CCS5.5移植到CCS10的版本后,串口不能打印浮点数

Part Number: TMS320C6678


串口打印程序中将待打印的参数写至数组中

void serialPrintf (const char *fmt, ...)
{
char printbuffer[512];
va_list args;
。。。。
va_start (args, fmt);
vsprintf(printbuffer,fmt, args);
va_end (args);

。。。。

}

在CCS5.5中调试,发现程序va_start运行至<stdarg.h>中COFF ABI convention:, 但在CCS10中程序运行至ELF ABI convention:

编译设置都是输出eabi(ELF).

是由于软件版本的问题导致这种情况发生?

该如何修复