The CFG file
var BIOS = xdc.useModule('ti.sysbios.BIOS');
var Timer = xdc.useModule("ti.sysbios.timers.timer64.Timer");
var Clock = xdc.useModule('ti.sysbios.knl.Clock');
var ti_sysbios_hal_Timer = xdc.useModule('ti.sysbios.hal.Timer');
var Task = xdc.useModule('ti.sysbios.knl.Task');
Timer.intFreqs[0].lo = 37500000;
utils.importFile("E:\\NanoScan2\\Firmware\\workspace\\UnitTests\\UnitTests.tci");
The import file
var RunUnitTestsParams = new Task.Params();
RunUnitTestsParams.instance.name = "RunUnitTests";
Program.global.RunUnitTests = Task.create("&_RunUnitTests", RunUnitTestsParams);
When I save the CFG I get the error, '"Task" is not defined' on the highlighted line in the CFG file. If I remove utils.importFile then there is no error. If I copy the import file into the CFG file then there is no error.