CMSIS-RTOS2 API for FreeRTOS to use on STM32 Nucleo

sachingole wrote on Tuesday, July 25, 2017:

  1. FreeRTOS 9.0.0 reference manual doesnt mention anything about CMSIS RTOS
  2. AC6 IDE give option to include FreeRTOS under third pary utility, from that I have added FreeRTOS. This shows version 9.0.0
    Inside source I can see CMSIS_RTOS folder which contains cmsis_os.h and .c
    A] Is it wrapper on top of base FreeRTOS API so can we use these API’s instead of FreeRTOS core API ?
    B] Is these API’s are matuared and well tested ?
    C] Do they have complete functionality implmentation mentioned CMSIS compliant ?
  3. Do we have interface to use CMSIS-RTOS2 API with kernel FreeRTOS for STM32 Nucleo development board. ?

rtel wrote on Tuesday, July 25, 2017:

A] *Is it wrapper on top of base FreeRTOS API so can we use these
API's instead of FreeRTOS core API ?*

The wrapper is provided by ST, I believe it is just a wrapper on top of
the native API, so you could use either API.

B] *Is these API's are matuared and well tested ?*

I believe they have been in use for some time so can be considered
mature and should be tested-in-use, but we did not write them or test
them ourselves.

C] *Do they have complete functionality implmentation mentioned
CMSIS compliant ?*

Don’t know.

sachingole wrote on Wednesday, July 26, 2017:

Thanks for your answer. But I think ST will provide only HAL API. FreeRTOS native API will be provided by FreeRTOS.

CMSIS wrapper will be written by RTOS provider, how it will be ST ?

rtel wrote on Wednesday, July 26, 2017:

There are a couple of CMSIS wrappers for FreeRTOS, and neither of them were written by us. Choose not to believe me if you like, but the one you are referring to was written by ST.

sachingole wrote on Wednesday, July 26, 2017:

Thanks. First of all with past correct and mind blowing answers I do believe in you.
OK those are written by ST them.

I was just thinking that, is it possible to write common code by which if tomorrow customer decided to not go with FreeRTOS because of licensing issue. no wheel design again code should be protable.

rtel wrote on Wednesday, July 26, 2017:

What licensing issue would there be? Once FreeRTOS is built into a
project, according to the license, it can be distributed free ‘under the
terms of your choice’. You can also purchase a commercial license (from
our partner company) if that is preferable ;o)