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