1) Modify your appBLE.cfg config file (e.g. CCS->Project Explorer->YourApp->TOOLS->appBLE.cfg)
//System.SupportProxy = SysCallback; //Comment out this line and add the following 3 lines
var SysStd = xdc.useModule("xdc.runtime.SysStd");
var System = xdc.useModule("xdc.runtime.System");
System.SupportProxy = SysStd;
2) Add the following header file to your C file
#include < xdc/runtime/System.h >
3. Use System_printf("Test\n") and System_flush() to output messages.
Is it possible to use System printf while having ble connection ?
ReplyDelete