Hi,
I'm using the EK-TM4C1294 Connected LaunchPad and just testing the example programs provided by TI Resource Explorer.
The GPIO Example works as intended and outputs to Console. As does the Watchdog Example.
The UARTconsole example does NOT output to Console. I believe should...
I noticed that the difference is in the .cfg Script.
The examples that do output to console have the following:
/* ================ System configuration ================ */
var SysMin = xdc.useModule('xdc.runtime.SysMin');
System.SupportProxy = SysMin;
SysMin.bufSize = 128;
/* Enable Semihosting for GNU targets to print to CCS console */
if (Program.build.target.$name.match(/gnu/)) {
var SemiHost = xdc.useModule('ti.sysbios.rts.gnu.SemiHostSupport');
}
Also, in the main program uartconsole.c they are missing the line:
/* SysMin will only print to the console when you call flush or exit */
System_flush();
These are 2 issues I see with the code at the moment...
Is there a general guide for setting up config scripts for Ti-RTOS? The script above isn't very intuitive