2024-07-30 04:20 PM
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
Solved! Go to Solution.
2024-07-31 09:05 AM
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
2024-07-31 12:33 AM
Hello @jrhtech and welcome to the ST Community :smiling_face_with_smiling_eyes:.
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:
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.
2024-07-31 09:05 AM
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