Friday, April 1, 2016

Steps for TI CC26xx BLE stack applications to use System_printf

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.

No comments:

Post a Comment