2025-04-14 6:40 PM - edited 2025-04-14 6:40 PM
Hi,
how do I start a new project in VS Code (using ST's STM32 extension or other ways) from an existing .IOC file?
I am asking because for writing new code for some new PCBs, I have the .IOC file which I configured when I made the PCBs and I want to reuse because it has many settings that I don't want to copy manually.
Alternatively, is there a way to import an existing .IOC file data/settings into a new .IOC file (obviously making sure they both use the same micro part number).
Thank you
Solved! Go to Solution.
2025-04-15 6:18 PM
AFAIK, only the standalone CubeMX can generate projects for CMake. This is a feature, not bug ))
2025-04-15 3:51 AM - edited 2025-04-15 3:51 AM
Hi,
Right now I've opened a .ioc file from a project generated for EWARM, changed the toolchain to Cmake and re-generated the project. It worked. Please provide more details.
2025-04-15 6:10 AM
Thank you @Pavel A.
it looks like it does allow me to do that (change to CMake) if I open it from standalone CubeMX but not from the CubeMX inside CubeIDE. 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 6:18 PM
AFAIK, only the standalone CubeMX can generate projects for CMake. This is a feature, not bug ))
2025-04-16 6:20 AM
Thank you @Pavel A.
that is correct, I just found that out yesterday in another post.