This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Priority Semaphore created in app.cfg not recognized when compiling

Other Parts Discussed in Thread: CC3200

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);