cancel
Showing results for 
Search instead for 
Did you mean: 

Project openable in both VSCode for STM32 and STM32CubeIDE

Zinitheve
Visitor

Is it possible to create project for team work, that can be opened and edited by both users of VSCode Extension and STM32CubeIDE? And I don't mean imported and recreated as new project, because it would add many problems when working with GIT version control. Also "*.ico" file should be included, if it is possible.

2 REPLIES 2
Pavel A.
Evangelist III

Many things are possible, with enough motivation.

Eclipse CDT supports "unmanaged" projects that are built via some 'command'. This command usually is 'make' with manually created makefile, and it can be CMake build. So you can take the CMake-based project for VSCode and build it from CubeIDE, and - more importantly - debug the program in CubeIDE. See the CubeIDE documentation for details.  Of course you can keep the .ioc file and anything else with the project.

 

TDK
Guru

I don't think so.

You can set up a VSCode Project and a separate STM32CubeIDE project that use the same source files. But they don't use the same project file format and have completely different ways of setting things up, so you won't be able to open one IDE's native project with the other IDE.

Even if you use CMake for both, you'll still have IDE-specific project files.

If you feel a post has answered your question, please click "Accept as Solution".