2025-02-05 07:58 AM
I have a project that was being developed using STM32CubeIDE, and being debugged with JLink Ultra.
Since all my other client work is done using VSCode, I wanted to bring this CubeIDE project into VSCode.
The only option I see in VSCode to do this is "Import CMake Project", I tried this, but it does not appear to work. The build and debug tasks appear to not be set up correctly.
How is this supposed to be done.
Using VSCode extension v2.1.1.
Sid
2025-02-05 08:16 AM
2025-02-05 08:47 AM
Thank you Andrew, however, the resulting project doesn't build. I see this:
Executing task: Build
build task started....
c:\Users\sidpr\AppData\Roaming\Code\User\globalStorage\ms-vscode.vscode-embedded-tools\vcpkg\root\downloads\artifacts\vcpkg-ce-default\tools.kitware.cmake\3.20.1\bin\cmake.EXE --build "D:/DataRoot/Projects/IO Technologies/IHP Controller/build/debug/build" --
ninja: error: loading 'build.ninja': The system cannot find the file specified.
build finished with error(s).
Plus, the debug configuration for the JLink probe is not imported.
Sid