Functions missing in FreeRTOS CMSIS v2 using STM32CubeIDE
I'm trying to use these two functions in STM32CubeIDE within FreeRTOS CMSIS v2:
- osKernelSuspend()
- osKernelResume()
My goal is to put the microcontroller in STOP MODE.
I get an error when compiling the project.
The problem seems to be the following: the two functions are only defined in cmsis_os2.h, but they are missing in cmsis_os2.c.
Such functions are well described in the documentation:
But they are missing in the FreeRTOS folder.
I'm using STM32L4xx microcontroller
Any suggestion to fix the problem?
Thanks in advance!
Flavio