Hello @TDK ,
This is the recommended way to use an STM32CubeMX2 CMake project with STM32CubeIDE (v2.1.1 recommended):
- In STM32CubeIDE, go to File → STM32 Project Create/Import.
- Under Import STM32 Project, select STM32 CMake Project, then click Next.
- Enter a project name and select the source folder, then click Next.
- Choose the correct STM32 MCU and click Finish.
The project will then appear as an STM32 CMake project, and the normal Build option will be available.
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.