2025-03-11 7:11 PM
I am trying to create a project with FreeRTOS using CMSIS RTOS V2 without configuring it in the ioc file. I am trying to turn ON/OFF the LED using thread and timer. I can build and run the same project if I configure the freeRTOS in STM32CubeMX. But I want to configure it independently. I included all the files required by freeRTOS and CMSIS RTOS V2 for the project. Attached is .ioc file and error message.
2025-03-11 7:36 PM
> I included all the files required by freeRTOS and CMSIS RTOS V2 for the project.
Missing C file: ...\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os2.c
2025-03-12 8:32 AM
This file is included: Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os2.c
2025-03-12 9:17 AM
Then please check that the undefined functions from the error messages are present in your cmsis_os2.c: osKernelInitialize, osThreadNew and so on. Aren't they excluded by some #ifdef?
2025-03-12 1:25 PM
They are present in the cmsis_os2.c I cannot find any #ifdef.