According to ST's user manual UM1722 "Developing wireless applications on STM32Cube with RTOS" there are two APIs available:
- Generic CMSIS-RTOS API (v1 or v2)
- FreeRTOS API
The CMSIS-RTOS API located in the CMSIS_RTOS_V2 folder generated by CubeMX is a collection of wrapper functions for FreeRTOS API. The CMSIS-RTOS functions are used in the examples shipped with STM32Cube FW package.
My question is when one should use CMSIS-RTOS API and when FreeRTOS API?