2025-10-16 2:58 PM
Hello Experts,
I am looking for a solution in which we can create STM32 project with .ioc file and generate the code but cmake as build tool instead of make.
I know we have couple of options while creating new project as follows:
We can either create STM32 project which allows to have .ioc file and can generate code but that is make file-based project.
If create CMake project, then it doesn't have .ioc and code generation feature.
In past, I created STM32 project and on top of that added CMake list files but want to know is there any better option.
Thanks in advance.
2025-10-16 4:29 PM
In the standalone CubeMX you can create a CMake project from .ioc.
2025-10-16 5:48 PM
> I am looking for a solution in which we can create STM32 project with .ioc file and generate the code but cmake as build tool instead of make.
Create the project with the standalone STM32CubeMX and choose cmake as the target in Project Manager -> Code Generator.