Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>STM-HelperNew to Visual Studio Code? Get it now.
STM-Helper

STM-Helper

BuzzyElectronics

|
3,203 installs
| (2) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

STM-Helper README

This extension helps to automatically build the project for work in VScode with one click.

Allows you to Build the firmware and Download it to the microcontroller.

It also allows you to open CubeMx project file from the VsCode application.

Features:

This extension supports the following list of controllers:

  • STM32F-series (STM32F0-F4 & STM32F7 series)
  • STM32L-series (STM32L0,L1,L4 series)

You may use your user paths with your ".c" and ".h" files and global includes in project (see "Presets" paragraph 7)


Supports ST-Link programmer for download firmware.

(Tests only with x64 Windows systems)

Presets:

To work with this extension you will need the following programs:

  • STM32CubeMX
  • ST-Link driver

If you want to use real-time Debug too - you should install this extension:

  • Cortex-Debug

How to use:

  1. You should build the project as Makefile in STM32CubeMX, with the following parameters:
  • System Core -> SYS -> Debug Serial Wire

  • Project Manager -> Code Generator -> Generate peripheral initialization as a pair of '.c/.h' files per peripheral

  1. Open the project folder in VS Code and you can see the three buttons in your the lower left corner of the screen:

  2. Push "UpdateWorkspace" button and your project will be ready! - Only one click!

  1. If you want to Build and Download your firmware - for it you have remainig two buttons.

  2. If you want to start Real-time Debug - press F5 button on your PC.

  3. If you need to quickly open your CubeMx project, you may do this from VsCode by OpenCubeMxProject button.

  1. If you want to use your own paths with your .c/.h files and global includes in your project -> you should write this paths and includes in .vscode/c_cpp_properties.json file:

And video - How to use:

https://www.youtube.com/watch?v=N0W-mCnIRws

Mail for issues and questions:

buzzyelectronics@gmail.com

Our Instagram:

https://www.instagram.com/buzzy_electronics/

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft