明明包含了"cmsis_os.h" 却还是undefined reference to `osSemaphoreWait'
学习FreeRTOS过程中,用stm32cubeide中的cubemx生成的工程文件,在freertos.c中明明包括了"cmsis_os.h"但是编译的时候还是出现undefined reference to `osSemaphoreWait'的错误,完全找不到解决办法。求助!!
问题解决。
Semaphore:
* - extended: maximum and initial token count
* - replaced osSemaphoreCreate with osSemaphoreNew
* - renamed osSemaphoreWait to osSemaphoreAcquire (changed return value)
* - added: osSemaphoreGetName, osSemaphoreGetCount
原来在V2中换了函数名。
页:
[1]