Part Number: CC2640
Other Parts Discussed in Thread: SYSBIOS,
Tool/software: TI-RTOS
while adding semaphore to sample project ble5stack\simple_peripheral, the final linkage step complains about "undefined first referenced symbol sem_init". Initially I thought it is a lib file missing in the -l link list. But I didn't find anything similar to posix in the linked libs in mutex sample project, which doesn't have the link error.
Some posts in the forum are talking about adding var Semaphore = xdc.useModule('ti.sysbios.knl.Semaphore'); in the project cfg setting. Adding it app_ble.cfg doesn't solve the problem.
I failed to find answers in "TI-RTOS 2.20 for CC13xx/CC26xx SimpleLink™ Wireless MCUs Getting Started Guide".
Many thanks for suggestions on solution/further study materials to understand the mechanism.