Skip to main content
ron239955_stm1
Associate III
March 15, 2025
Question

STM32H747 project - can't disable FreeRTOS and FatFS?

  • March 15, 2025
  • 2 replies
  • 572 views

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.

 

2 replies

Semer CHERNI
ST Employee
April 10, 2025

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.

ron239955_stm1
Associate III
April 10, 2025

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!