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.

CCS/LAUNCHXL-CC1312R1: TI-RTOS System_printf() - need clear instructions on how to make this work.

Part Number: LAUNCHXL-CC1312R1


Tool/software: Code Composer Studio

I am working with the uartecho demo. I have it working. I wanted to get the System_printf(); working. I am in CCS Version 10.

I added the lines to the release.cfg as per the original answer:

var System = xdc.useModule('xdc.runtime.System');
var SysMin = xdc.useModule('xdc.runtime.SysMin'); // this and the next 2 lines commented out in original file. Used to allow System Printf PDH
SysMin.bufSize = 1024;
System.SupportProxy = SysMin;

In my main.tirtos.c I added this include:

#include <xdc/runtime/System.h>

and in main() I added:

System_printf("Up and running.\n");

But when I run the program, nothing is printed in the console window in CSS.  I've looked at the simple link academy debug section. The core problem here is there is a lot of "Add this code here" in there, but nowhere is there clear instructions on how to get this functionality going.

So what I would please like to see is a list of steps, such as "Add this code to this file", that is needed to let me use System_printf and see the result in the console window.

 - pete