Skip to main content
Associate
May 10, 2026
Question

VSCode impossible workflow

  • May 10, 2026
  • 1 reply
  • 293 views

Hi,

I’m trying to use VSCode extensions but i find it hard to understand and debug my workflow constantly. When i want to create new project i first generate code scaffold in CubeMX. Then i use VSCode extension to configure the project, then i try to build or flash my project to the board and im met with huge amount of errors with cmake, toolchains etc. 

I Think im missing something here becouse it’s impossbile to work like that. If you have any ideas what am i doing wrong please leave your suggestions. Id be happy to provide any additional details too.

1 reply

Cartu38 OpenDev
Graduate II
May 11, 2026

@AntekZa 

Not sure about, your report is opening many doors possibly - let's be more accurate if possible -, may you lack about project setup step ?

Have a try to call it back explicitly:

Cartu38OpenDev_0-1778513782752.png

I'm saying "back" because adding some supported (Cmake project for now) material to VS Code workspace you may had got the following notification:

Cartu38OpenDev_1-1778513887432.png

 

AntekZaAuthor
Associate
May 11, 2026

Thank you for your reply.

Yes indeed I performed project setup and configuration step before trying to build with cmake. My issue is that ability to build with cmake behaves unpredictably. Sometimes i need to have generated by CubeMX folder open as workspace and sometimes i don't. I think all my issues would be resolved if i had acces to suggested folder structure (with settings.json, lanuch.json etc.). Maybe there is such doc? I didn't stumble upon...

If needed i could provide my current project state.

Cartu38 OpenDev
Graduate II
May 11, 2026

@AntekZa 

Is your project looks like ? Right after workspace addition and project setup.
Debug and so launch.json being next step.

Cartu38OpenDev_0-1778532673302.png