cancel
Showing results for 
Search instead for 
Did you mean: 

Why doesn't compiler find defintion of the function (it says undefined reference to `osSemaphoreWait') on the link step ?

bully
Senior

I have #include "cmsis_os.h" statement in my .c file. Also Ctrl+click works in CubeIDE to get to the correct file that includes definition of the function (cmsis_os.h) and also reports correct directory (CMSIS_RTOS_V2)...

Really weird behaviour, I'd kindly ask for some guidance or help.

Thanks,

regards Rob.

1 ACCEPTED SOLUTION

Accepted Solutions
bully
Senior

found the solution (function is renamed and only exists in header file)...

View solution in original post

1 REPLY 1
bully
Senior

found the solution (function is renamed and only exists in header file)...