Skip to main content
Visitor II
September 20, 2025
Question

Problem with dual core MCU on vscode extension

  • September 20, 2025
  • 4 replies
  • 595 views

Gopmur_1-1758367972797.png


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.

    This topic has been closed for replies.

    4 replies

    Graduate II
    September 20, 2025

    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 !

    GopmurAuthor
    Visitor II
    September 21, 2025

    The problem is that the only option I get is my root project

    Super User
    September 21, 2025

    Are you using the latest version of the VS Code extension?

     

    Graduate II
    September 21, 2025

    @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 ...

    ST Employee
    September 22, 2025

    Hi @Gopmur,

    Do you have any error with the CMake file API, like:

    JulienD_0-1758533222293.png

    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.