cancel
Showing results for 
Search instead for 
Did you mean: 

STM32C5 using STM32CubeIDE

AMend.7
Associate III

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

1 ACCEPTED SOLUTION

Accepted Solutions

Import the generated CMake project from CubeMX2 as a "STM32 CMake Project"

 

Screenshot 2026-04-06 122232.png

If a reply has proven helpful, click on Accept as Solution so that it'll show at top of the post.
CAN Jammer an open source CAN bus hacking tool
CANableV3 Open Source

View solution in original post

4 REPLIES 4
Bowman32
ST Employee

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

AScha.3
Super User
AMend.7
Associate III

Hi,

 I asked how to open a project generated by STM32CubeMX2 (STM32C5) or an example from STM32CubeC5 in STM32CubeIDE 2.1.1.

Thanks,

 Ari

Import the generated CMake project from CubeMX2 as a "STM32 CMake Project"

 

Screenshot 2026-04-06 122232.png

If a reply has proven helpful, click on Accept as Solution so that it'll show at top of the post.
CAN Jammer an open source CAN bus hacking tool
CANableV3 Open Source