Skip to main content
bully
Senior
April 18, 2021
Solved

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

  • April 18, 2021
  • 1 reply
  • 2648 views

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.

This topic has been closed for replies.
Best answer by bully

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

1 reply

bully
bullyAuthorBest answer
Senior
April 18, 2021

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