Skip to main content
Adriano Melis
Associate III
November 17, 2016
Question

Which API use for RTOS?

  • November 17, 2016
  • 1 reply
  • 707 views
Posted on November 17, 2016 at 12:57

Hello,

The STM32cubeMX code generator labels as FreeRTOS the RTOS functionalities, but the code generated looks compliant to the CMSIS-RTOS API.

The directory Middlewares\Third_Party\FreeRTOS\Source contains the sources for FreeRTOS and what looks to be a cmsis-rtos wrapper to freertos.

I have some questions:

- is it possible to generate code for freertos and use only the freertos API?

- alternatively, where is the documentation to this version of cmsis-rtos?

#!freertos #!cubemx-!code-generation
    This topic has been closed for replies.

    1 reply

    Walid FTITI_O
    Visitor II
    November 17, 2016
    Posted on November 17, 2016 at 16:33

    Hi adriano_melis,

    As an answer to all your questions , refer to the User manual

    http://www.masters.com.pl/szkolenia/zasob/plik/720267774rtos.pdf

    ''Developing Applications on STM32Cube with RTOS'', where CMSIS-RTOS and RTOS application are documented.

    For RTOS configuration on STM32CubeMX tools , you would refer to the part ''4.12.6 FreeRTOS middleware configuration view'' in the User manual

    http://www.st.com/content/ccc/resource/technical/document/user_manual/10/c5/1a/43/3a/70/43/7d/DM00104712.pdf/files/DM00104712.pdf/jcr:content/translations/en.DM00104712.pdf

    '' STM32CubeMX for STM32 configurationand initialization C code generation ''

    -Hannibal-