2025-09-20 4:34 AM
I created an H745ZIT6 CubeMX project and then tried to import it in VSCode. But when I try to import it, it expects me to import each core individually. How am I supposed to do it? When I try to set the project path for each of them, the only option I get is the parent folder.
2025-09-20 5:38 AM
Let's have a try to trust the system. If getting a call for multiple projects here means on right tracks.
Just map each to respective core and save !
2025-09-21 2:10 AM
The problem is that the only option I get is my root project
2025-09-21 2:28 AM
Are you using the latest version of the VS Code extension?
2025-09-21 3:37 AM
@Pavel A. yes @Gopmur is using latest according initial post. This multi projects mapping view is part of fresh proposal per my experience.
@Gopmur I'm a bit lost. What do you want to achieve in real ?
options according to me:
1) Either you want manage by yourself each core project ? If such yes you can, let's just import each core project folder one by one. In other words it requires to invoke twice native VSCode "add folder workspace" feature.
2) Or you want to get a bit of automation helping you to manage both core projects from a top most one ? If such your initial post and my first reply is right way to do. All such having been triggered because you have invoked native VSCode "add folder workspace" feature promoting top most folder - the core project folders are children of -.
My 2 cents is nothing STM32Cube can do more here. Good is all options are ok, it relies on you. What may be good to understand is : https://code.visualstudio.com/docs/editing/workspaces/multi-root-workspaces.
Could you share to us which option you're targetting ? ... and possibly why :) ... I'm asking myself what is best or most common practice others may have ...
2025-09-22 2:27 AM - edited 2025-09-22 5:02 AM
Hi @Gopmur,
Do you have any error with the CMake file API, like:
Do you have cmake natively installed on you computer outside of the STM32Cube for VSCode integration ? If so which cmake version ? To check it simply open a native terminal (bash on Linux, CMD/PowerShell on Windows, Terminal on Mac) and enter cmake --version.