2.Add below code in app_ble.cfg file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
utils.importFile("../../../../../src/common/cc26xx/kernel/cc2640/config/cc2640.cfg"); | |
/* | |
* Extend the cc2640 configuration | |
*/ | |
var SysStd = xdc.useModule("xdc.runtime.SysStd"); | |
var System = xdc.useModule("xdc.runtime.System"); | |
System.SupportProxy = SysStd; | |
System.extendedFormats = '%$L%$S%$F%f'; |
3.Add include header file and test.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <xdc/runtime/System.h> | |
.. | |
.. | |
.. | |
System_printf("Hello World!"); |
4.In debug mode enable View->Terminal I/O and we can see the Hello World! in terminal.

Ref:
1.System_printf and printf() on CC2650 sensorTag
2.System_printf supported format specifications