I run mmwavelink 2.2.3.1 code on TI-RTOS in TM4C1294, and implement the interface rlOsiSemWait() using the following way.
rlInt32_t rlSyncObjWait(rlOsiSemHdl_t* semHdl, rlOsiTime_t timeout) {
return sem_wait((sem_t*)(*semHdl));
return SOK;
}
But when the function rlOsiSemWait() executes, code will abort. What's the problem?