2020-06-10 03:31 AM
I am trying to generate a static library which calls FreeRTOS functions listed below -
etc.
in System Workbench for STM32.
Without including the FreeRTOS Utility in the project, I get errors like,
Type 'osThreadId' could not be resolved
'osPriorityNormal' undeclared (first use in this function)
When I choose option to include the FreeRTOS Utility in the project, I get the same errors as above.
2020-06-10 05:43 AM
Sounds like you're missing some include files defining the interfaces/functions.
2020-06-10 06:55 PM
These aren't FreeRTOS functions. They're CMSIS-RTOS API wrappers, perhaps prepared by ST and generated by Cube.
2020-06-10 11:48 PM
Yes i am using CMSIS-RTOS it working with HAL API, But not working in case of rtos.
2020-06-10 11:52 PM
I'm guessing Clive's answered the problem, and your posts aren't elaborating anything.