xSemaphoreCreateBinary

Hello! I will be grateful, can anyone let me know the dependencies or definitions missing, inorder to proceed compiling my creating semaphore prog., Tried to followp with earlier threads, but didn’t serve the need. Error: L6218E: Undefined symbol xSemaphoreCreateBinary (referred from main.o). Thank you

xSemaphoreCreateBinary

Which version of FreeRTOS are you using? xSemaphoreCreateBinary() was only introduced in V7.6.0, prior to that the vSemaphoreCreateBinary() macro was used (note the ‘v’ prefix). xSemaphoreCreateBinary() was introduced to ensure the calling semantics were the same for all semaphore functions. Regards.

xSemaphoreCreateBinary

Thanks for the quick reply. My FreeRTOS version is 7.1.1, I’m able to compile now with vSemaphoreCreateBinary() regards