2025-04-14 6:34 PM - last edited on 2025-04-15 1:24 AM by Andrew Neil
Hi,
I have a CubeIDE project and I want to continue development using VS Code.
How do you convert an existing project to CMake so I can use it in VS Code?
In CubeMX I opened the .IOC file to try to change the project settings to CMake but the Toolchain drop down menu is greyed out so I cannot change it. How do I change it to CMake specifically to be used with VS Code?
Thank you
Solved! Go to Solution.
2025-04-15 1:22 AM
Hello @Ricko
First let me thank you for posting.
Let's try this workaround :
After opening your IOC using STM32CubeMX , go to File --> Save project as --> select where to save the new IOC and change the name of the IOC then click save.
After doing this , try to change the toolchain to Cmake.
I 'will be waiting for your feedback.
THX
Ghofrane
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.
2025-04-15 1:22 AM
Hello @Ricko
First let me thank you for posting.
Let's try this workaround :
After opening your IOC using STM32CubeMX , go to File --> Save project as --> select where to save the new IOC and change the name of the IOC then click save.
After doing this , try to change the toolchain to Cmake.
I 'will be waiting for your feedback.
THX
Ghofrane
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.
2025-04-15 6:15 AM
Thank you @Ghofrane GSOURI
it looks like it I can do that from standalone STM32CubeMX but not from the CubeMX inside CubeIDE's CubeMX Extension/Plugin. Inside the CubeIDE's CubeMX-plugin it shows greyed out as you can see from the attached screenshot.
It does that for all projects, so it is a CubeIDE bug I assume?
Where do you report bugs?
Thank you
2025-04-15 7:30 AM - edited 2025-04-15 7:30 AM
Hello @Ricko
It's not a bug .
the CubeMX plugin within CubeIDE is meant to generate projects for STM32CubeIDE only.
THX
Ghofrane
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.
2025-04-15 12:36 PM
Thank you @Ghofrane GSOURI