STM32Cube for Visual Studio Code (MCUs)

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

vscode debug Global variables issue

Hello,I have a question about vscode with STM32 extension. I have setup a project with vscode and stm32 extension, and after compiler, it can do debug, and I can see the Global Variables on the VARIABLES window. as belowbut when I use vscode to do an...

dqsh06_0-1741858938092.png dqsh06_1-1741859152059.png
dqsh06 by Associate III
  • 1698 Views
  • 0 replies
  • 0 kudos

TrustZone with VScode extension

Hi,I'm using an STM32L562 Discovery Kit, and trying to use the VSCode extension to debug.For now, I am only working with a basic code to blink LD10 with TrustZone activated.Now, I have an issue when flashing the MCU : the program doesn't seam to be r...

Adrian_ by Associate
  • 314 Views
  • 3 replies
  • 0 kudos

Resolved! CMake for TouchGFX via CubeMX?

Hi!Any chance this will be supported soon?CubeMX is already updating the auto generated CMake file in STM32 VS Code when adding TouchGFX but this is just for some of the TouchGFX files and is not sufficient, instead there will be build errors.As a re...

Resolved! Change project preset

I'm new to using VS Code extensions and I'm quite impressed so far. However, I've hit a snag trying to change the build preset (like switching between Debug and Release modes).The first time I built my project, VS Code prompted me to choose a build t...

DamianoF by Associate III
  • 1963 Views
  • 1 replies
  • 0 kudos

Resolved! Main.h is not found

Hi,I generated the code in CubeMX and opened it in VSCode. However, I cannot run the code because VSCode cannot find main.h. I'm not sure why this is happening. I've generated the code twice, but the problem persists. The main.h file is located in th...

Bea_12_0-1737980665497.png
Bea_12 by Associate III
  • 1220 Views
  • 11 replies
  • 1 kudos