Hi all,
I am trying to set up a periodic function in SYSBIOS that just posts a semaphore. The relevant (XDCscript) code is below:
var semParams = new Semaphore.Params();
Program.global.mySem = Semaphore.create(0, semParams);
var clockParams = new Clock.Params;
clockParams.period = 1000;
clockParams.arg = "&mySem";
Program.global.myClock = Clock.create("&Semaphore_post", 1000, clockParams);
The problem is that linking fails with unresolved symbol on Semaphore_post (a BIOS function). What is the correct syntax to get this to link?
Many thanks,
Brady