2025-03-15 3:43 PM
I'm trying to create a new STM32H747 project in STM32CubeMX and right away I'm running into an odd issue - I can't turn off FreeRTOS and FatFS. It reports that "peripheral FreeRTOS_M7 could not be removed from context Cortex M7 as it's forced for this peripheral."
I need to use Azure RTOS in this project, and I can enable its packages for the project, but I still can't disable FreeRTOS. I had no trouble with this in my last STM32H743 project, so I'm a little puzzled. Is there some setting I'm missing?
FYI, I only need the RTOS on the M7 core.
2025-04-10 7:47 AM
Hello @ron239955_stm1
First let me thank you for posting.
Could you please share the ioc file. I am not able to reproduce the described behavior.
BR,
Semer.
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.
2025-04-10 8:26 AM
I'll attach a file here, but I can reproduce it with the following steps:
Start the STM32CubeMX and select the CPU Selector
Select STM32H747XIH6
Answer yes to the question about speculative access
Then, go to Middleware and try to turn off FreeRTOS and FatFS. It won't allow you to turn them off. Interestingly, you can turn on AZRTOS, but then once it's on, you can't turn it off either.
Thanks for your help with this issue!