cancel
Showing results for 
Search instead for 
Did you mean: 

Different FreeRTOS in latest CubeMX?

Ricko
Senior III

Hi,

I just updated CubeIDE/CubeMX, and after creating a new project, I began configuring the microcontroller. However, when I tried to install FreeRTOS, it didn’t seem to be available. In the older version of CubeMX, there was a FreeRTOS option under Middleware (as shown in the first screenshot from a video), but it appears to be missing now. I did find X-CUBE-FREERTOS, but it doesn’t seem to offer any options like CMSIS_V1 or CMSIS_V2 or any  ther very many parameters that FreeRTOS that in the previous version were available.

What happened?

1. Is that X-CUBE-FREERTOS, the only or perhaps the preferred option to use/install hrough MX?

2. How do I select CMSIS_V1 or CMSIS_V2 and all other parameters like in the older configurator (third screenshot)?

3. Are all ST libraries that rely on FreeRTOS now using X-CUBE-FREERTOS?

Thanks you  :)

Ricko

 

 

Ricko_2-1741046826671.png

 

 

Ricko_0-1741046681156.png

 

 

 

Ricko_0-1741049461926.png

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Hello @Ricko ,

In answer to your question, Some STM32 series support Freertos and others support X-Cube-Freertos.
With Freertos, users can select either CMSIS V1 or CMSIS V2.
Whereas with x-cube-freertos , CMSIS RTOS 2 is set as default.

 

Thanks.

Mahmoud

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

5 REPLIES 5
Mahmoud Ben Romdhane
ST Employee

Hello @Ricko ,

 

First let me thank you for posting.

You need to enable X-CUBE-FREERTOS in STM32CubeMX:

Click [Select Components] under the [Software Packs] menu.

Scroll down in the list and select [ST Microelectronics.X-CUBE-FREERTOS]. In case it is not installed, or you would need to use a different version, install it first using the [Install] button within the [Selection] column.

 

MahmoudBenRomdhane_0-1741160778303.png

MahmoudBenRomdhane_1-1741160824063.png

 

I suggest also that you take a look at this article: How to use STM32U5 with FreeRTOS™ in tickless mode - STMicroelectronics Community

 

Thanks.

Mahmoud

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Hello @Ricko ,

In answer to your question, Some STM32 series support Freertos and others support X-Cube-Freertos.
With Freertos, users can select either CMSIS V1 or CMSIS V2.
Whereas with x-cube-freertos , CMSIS RTOS 2 is set as default.

 

Thanks.

Mahmoud

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Thank you @Mahmoud Ben Romdhane 

what is the difference (generally and in API)?

Where can I find a document or video explaining the difference?

Thank you :)

Hello @Ricko ,

 

I recommend that you consult this Data Brief and those Videos.

 

Thanks.

Mahmoud

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Thank you @Mahmoud Ben Romdhane  :)