cancel
Showing results for 
Search instead for 
Did you mean: 

X-Cube-FreeRTOS does not appear to install in Cube 1.16.0 for STM32U5

jrhtech
Associate II

  I've installed the latest Cube, 1.16.0, and configured a DAC and PWM.   The code generated fine but I wanted to add FreeRTOS.  So I added it under the Middleware dropdown and it does appear to install.   However, when I generate code I do not get any FreeRTOS support.   

   Previously, in 1.14.0, I would see FreeRTOS in the Middlewares directory.  Now I don't even have a Middlewares directly and there is not FreeRTOS support in my generated code.

  Any ideas what is going on here?

 

thanks,

Jeff

1 ACCEPTED SOLUTION

Accepted Solutions
jrhtech
Associate II

Hello, 

 I figured it out this morning.   You have to select FreeRTOS and CMSIS, then under CMSIS you must configure Core and Heap.   The previous version I was using, 1.14.0, had some defaults when FreeRTOS was selected.   In 1.16.0 there are no defaults and unless you select some FreeRTOS will not show up in Middlewares.

  Certainly not obvious and I didn't see this in the docs I looked.  Seems like there should at least be a warning that the configuration is incomplete and the package can't be included.

 

Jeff

View solution in original post

2 REPLIES 2
STTwo-32
ST Employee

Hello @jrhtech and welcome to the ST Community .

I'm not able to reproduce this on my side. Everything is working as your expectations. I've created a project with CubeMX V 6.12.0 and the STM32U535RETXQ. Enabled FreeRTOS on the Middleware tab and generated the Code:

STTwo32_0-1722411134185.png

Could you please share your use case and your .ioc file if possible.

Best Regards.

STTwo-32 

 

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.

jrhtech
Associate II

Hello, 

 I figured it out this morning.   You have to select FreeRTOS and CMSIS, then under CMSIS you must configure Core and Heap.   The previous version I was using, 1.14.0, had some defaults when FreeRTOS was selected.   In 1.16.0 there are no defaults and unless you select some FreeRTOS will not show up in Middlewares.

  Certainly not obvious and I didn't see this in the docs I looked.  Seems like there should at least be a warning that the configuration is incomplete and the package can't be included.

 

Jeff