STM32H743VIHx: FreeRTOS configuration lost after migrating CubeMX project from 6.16 to 6.18.x
Hello,
I have an STM32H743VIHx project created and developed using STM32CubeMX version 6.16.
After automatically migrating the project to STM32CubeMX version 6.18.0 / 6.18.1, I encountered an issue with the FreeRTOS configuration.
The migration process completes successfully, but the FreeRTOS configuration is lost. The previously configured FreeRTOS settings, including tasks, queues, semaphores, and other RTOS-related parameters, are no longer available.
Furthermore, when I try to open the FreeRTOS configuration section in STM32CubeMX after migration, the configuration page cannot be opened properly.
If I generate the code after this migration, all FreeRTOS-related code is automatically removed from the generated project. The generated project no longer contains the expected FreeRTOS initialization and configuration code.
Additional information:
Figure 1 shows the project after automatic migration from STM32CubeMX 6.16 to 6.18.x.
In this migrated project:
- The FreeRTOS configuration option cannot be opened.
- The FreeRTOS settings are missing.
- After generating the code, all FreeRTOS-related source code is automatically removed.
Figure 2 shows the same project opened using the compatibility mode.
In compatibility mode:
- The FreeRTOS configuration page can be opened normally.
- The original FreeRTOS settings are retained.
- The project can generate FreeRTOS-related code correctly.

Environment:
- MCU: STM32H743VIHx
- STM32CubeMX version before migration: 6.16
- STM32CubeMX versions after migration: 6.18.0 / 6.18.1
- Middleware: FreeRTOS
- IDE: STM32CubeIDE

The project works correctly with STM32CubeMX 6.16, and the issue only appears after migrating the project to STM32CubeMX 6.18.x.
Has anyone encountered a similar problem?
Is there a recommended solution to restore the FreeRTOS configuration after migration, or is this a known issue in STM32CubeMX 6.18.x?
Thank you.

