STM32Cube for Visual Studio Code (MCUs)

Ask questions on the STM32Cube for VSCode extension. Find answers on a variety of topics, including build issues, debug functionalities, CMake project integration, and feature requests for CubeCLT installation.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 2179 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
  • 1810 Views
  • 11 replies
  • 1 kudos

C++ setup in VS code for STM32

Hello, Can someone advise me for a "blueprint" how to set up C++ in VS Code for stm32 mcu, I've changed Cmakelists.txt to be able to compile C++ and I am not getting an error at Cmakelists.txt, but I am still getting errors from undefined macros. I s...

NymerisV by Associate II
  • 603 Views
  • 3 replies
  • 1 kudos