I have a series of projects which use a common SYS/BIOS cfg file called "MSP_Common.cfg"). One of the projects needs an additional clock object, so I wrote:
utils.importFile("MSP_Common.cfg");
/*
* Extend the MSP_Common configuration
*/
var TclockParams = new Clock.Params();
TclockParams.period = 4; /* Ticks */
TclockParams.startFlag = false; /* Program will manually start */
TclockParams.arg = (UArg)0 ;
Program.global.clockInst1 = Clock.create("&ThermistorADC", 4, TclockParams);
Alas this doesn't work. The SYS/BIOS overview page shows none of the information from MSP_Common.cfg
What is the correct command/syntax to include one .cfg file in another?
XDCtools 3.24.5.48; SYS/BIOS 6.34.2.18
Thanks,
Fred