Skip to main content
Visitor II
March 12, 2025
Question

Project openable in both VSCode for STM32 and STM32CubeIDE

  • March 12, 2025
  • 2 replies
  • 636 views

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.

    This topic has been closed for replies.

    2 replies

    Super User
    March 13, 2025

    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.

     

    Super User
    March 13, 2025

    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.