Tool/software: TI-RTOS
Hi. I'm trying to use the Log functions such as Log_infoX, Log_warnX and Log_errorX. When I try to use a %s print specification I am getting a compile error:
C:/ti/xdctools_3_50_02_20_core/packages/xdc/runtime/Log__epilogue.h:129:73: error: invalid conversion from 'const char*' to 'xdc_IArg {aka int}' [-fpermissive]
Module__LOGFXN4(Module__LOGOBJ, (evt), (mid), (a1), (a2), (a3), (a4))
My line of code for testing is:
Log_error1( "System start failed: %s\n", "test");//e.what() );
The xdctools documentation isn't 100% clear to me as to which conversion characters are support by the various Log functions. The only place the specifiers are listed is after Log_print6()
What might I be doing wrong?
XDCtools 3.50.02.20, SYS/BIOS 6.50.01.12
Mike