尝试生成一个静态库,该库调用下面列出的 FreeRTOS 函数 - - osThreadDef 和 osThreadCreate
- osSignalSet 和 osSignalWait
- osDelay
- osMutexCreate等。
在 STM32 的 System Workbench 中如果不在项目中包含 FreeRTOS 库,会收到错误: Type 'osThreadId' could not be resolved 'osPriorityNormal' undeclared (first use in this function) 在项目中包含 FreeRTOS 库时,也收到相同的错误。
|