cancel
Showing results for 
Search instead for 
Did you mean: 

Start a new STM32 project in VS Code using an existing .IOC file OR copy .IOC data/settings

Ricko
Senior III

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

1 ACCEPTED SOLUTION

Accepted Solutions

AFAIK, only the standalone CubeMX can generate projects for CMake. This is a feature, not bug ))

 

View solution in original post

4 REPLIES 4
Pavel A.
Evangelist III

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.

 

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

 

Ricko_0-1744722188366.png

 

AFAIK, only the standalone CubeMX can generate projects for CMake. This is a feature, not bug ))

 

Thank you @Pavel A. 

that is correct, I just found that out yesterday in another post.