STM32Cube for Visual Studio Code

The free STM32 development tool based on VS Code

STM32Cube for Visual Studio Code hero image STM32Cube for Visual Studio Code hero image
STM32VSCode logo

STM32Cube for VS Code is a modern, lightweight development tool for STM32 MCUs.

Write, compile, debug and version-control code efficiently throughout the entire project life cycle by leveraging VS Code.

Watch the tutorial video
STM32Cube for VS Code development tools pictures

STM32Cube for VS Code: lightweight, yet powerful.

VS Code offers an open, customizable and extendible programming environment with support for STM32 MCUs.

Background image STM32 Cube MX Desktop STM32VSCode image

  • Code editing
  • Project build​
  • Automation
  • Simplified debugging
Download STM32Cube for VS Code

Discover STM32Cube for VS Code key features

Powerful editor, flexible build tools, simple STM32 debugger, and smooth update workflows

Powerful editor

STM32Cube for VS Code brings together a powerful C/C++ editor, flexible build, and debug tools in a fast, lightweight and customizable package.
Boost your developer efficiency thanks to IntelliSense editor and seamless Git integration.
Leverage the rich VS Code marketplace to add additional extensions like GitHub Copilot to enjoy AI-driven code assist.

Code navigation, code completion, multi-cursor, AI-assist

Powerful editor image

Flexible build tools

The build system relies on the C/C++ industry standard CMake and Ninja tools. Developers can move existing CMake-driven code bases into STM32Cube for VS Code with close to zero porting effort. Leveraging CMake enables ACI integration, compiler freedom, and simplifies integration of third-party test tools.

​Fast, flexible, automation-friendly

Flexible build tools image

Effortless and flexible debugger

STM32Cube for VS Code includes its own debug extension to enable single-click debug launches for ST-LINK and SEGGER J-LINK probes.
Debug configurations are highly customizable and the debugger offers both basic and advanced features.

ST-LINK, SEGGER, RTOS awareness, SFR

Effortless and flexible debugger image
background-image-1 background-image-2 background-image-3

Get started with STM32Cube for VS Code

Try the STM32Cube for VS Code pre-release aka v3.0 available from Visual Studio Marketplace.

Go to Visual Studio marketplace

Latest release documentation

Documentation name Version

Extension pack readme.md

3.0

Changelog.md

3.0

Latest release documentation

3.0

3.0

Read more
Read less

Other products from the STM32Cube Ecosystem

altImg

  • Configuration
  • Intit code
  • Project generation
  • Power consumption
 
Discover STM32CubeMX Discover STM32CubeMX

altImg

  • Binary programming
  • Hardware options setting
  • Secure programming
 
Discover STM32CubeProgrammer Discover STM32CubeProgrammer

altImg

  • Monitoring
  • Real-time valuable visualization
  • Specific for RF, Power and USB-PD
Discover STM32CubeMonitor Discover STM32CubeMonitor