I added a priority counting semaphore in ti_rtos_config project in the cc3200 sdk, rebuilt in ccs61, and then tried to use it in another project that depends on it. I got rid of all errors except one by adding
#include <xdc/std.h> #include "ti\sysbios\BIOS.h" #include <ti/sysbios/knl/Semaphore.h>
but still get
Description Resource Path Location Type
#20 identifier "sem_msgr" is undefined main.cpp /aessocf line 232 C/C++ Problem
The sem_msgr shows up in gui. Is my syntax wrong, need another include, or what?
The offending code is
Semaphore_pend(sem_msgr, BIOS_WAIT_FOREVER);