2026-04-06 8:29 AM
Hi,
How do I generate a project for STM32CubeIDE using STM32cubeMX2? Apparently, the only options are cmake, IAR, and open-cmsis (Keil). And is it possible to open examples from STM32CubeC5 using STM32CubeIDE?
Ari
Solved! Go to Solution.
2026-04-06 12:26 PM
Import the generated CMake project from CubeMX2 as a "STM32 CMake Project"
2026-04-06 10:37 AM
To generate a project for STM32CubeIDE using STM32CubeMX, you must select STM32CubeIDE as the Toolchain/IDE in the Project Manager | Code Generator section. If you only see options like CMake, IAR ..., and not STM32CubeIDE, this is likely due to limitations in your CubeMX installation.
If you have generated a CMake project with STM32CubeMX, you can import it directly into STM32CubeIDE as a CMake project. For detailed guidance, refer to the application note on using CMake in STM32CubeIDE: AN5952
2026-04-06 10:39 AM - edited 2026-04-06 10:40 AM
Hi,
see https://community.st.com/t5/stm32-mcus/stm32cubeide-2-0-0-workflow-tutorial/ta-p/864831
+
https://community.st.com/t5/stm32-mcus/how-to-create-a-new-project-with-stm32cubemx2/ta-p/872643
- it doesn't work ?
2026-04-06 11:49 AM
Hi,
I asked how to open a project generated by STM32CubeMX2 (STM32C5) or an example from STM32CubeC5 in STM32CubeIDE 2.1.1.
Thanks,
Ari
2026-04-06 12:26 PM
Import the generated CMake project from CubeMX2 as a "STM32 CMake Project"