Tool/software: TI-RTOS
Hello,
I'm trying to do the tutorial for TI-RTOS on the CC3220S-LAUNCHXL platform.
Everything is working fine, but now I'm trying to add a SWI and the software no longer compiles.
I get an error on the code: Swi_post(swi0);
The error mentions swi0 is undefined.
However in my hello.cfg (I've modded the hello world demo) all settings do show up just as in the example solution files:
/* ================ Application Specific Instances ================ */
var halHwi0Params = new halHwi.Params();
halHwi0Params.instance.name = "timerHandle";
Program.global.timerHandle = halHwi.create(21, "&timerInterrupt", halHwi0Params);
var swi0Params = new Swi.Params();
swi0Params.instance.name = "swi0";
swi0Params.priority = 1;
Program.global.swi0 = Swi.create("&ledToggle", swi0Params);
What could be the issue that the compiler claims it is undefined?
Kind regards,
Remco de Wit