Skip to content
0:00 / 0:00

#stm32#cubemx#openocd

STM32 toolchain for Windows - Part 1 (CubeMX, GCC, Make and OpenOCD)

EmbeddedGeek

1.7K subscribers • 3 videos on Hallway

YouTube
  • Recommended by 3 people: 3 in engineering communities.
  • A classic. People kept recommending it from 2022 to 2025.
  • May be out of date. The tools, versions or practices it shows have likely moved on.

Intermediate. Assumes working knowledge.

48K views6 years ago3 recommendations

Systems programmingTools and practiceEmbedded systemsBuild systems and packaging

A step-by-step guide to setting up a command-line STM32 development toolchain on Windows using CubeMX, GCC, Make, and OpenOCD.

This video shows how you can set up a Toolchain for building STM32 projects under Windows. It is a precursor for the next video in this series that will build onto this to use VSCode to program and debug the same device. More information, including code, is available here: embeddedgeek.net/posts/STM32-toolchain-for-windows/ Part 2: youtu.be/xaC5oWwzOt0 Part 3: youtu.be/7stymN3eYw0

Why it's here

3 people recommend this

What people say. Recommended for setting up a VS Code development environment for STM32 without relying on CubeIDE or Keil.

u/kdt912in r/embedded • Recommends

On “Finally got my first-ever MCU”

Great choice, me and my college teammates made an app controlled robotic arm using one of those for our capstone project. https://preview.redd.it/6od5hgcqhprf1.jpeg?width=3024&format=pjpg&auto=webp&s=3b731a78b7a926c87ccbb80d546fa24787fe925a Super easy to work with, love CubeMX. I also found the video I followed to set up a VSCode dev environment so you don’t have to use CubeIDE

u/electrotwelvein r/embedded • Recommends

On “STM32CubeMX to VSCode for STM32”

Not specific to this but here is a tutorial for setting up vscode for writing and debugging STM32 code using gcc and make. link to this video This is part 1 of 2.

u/silvio3105in r/embedded • Recommends

On “Why is Keil uV still preferred over STM's CubeIDE?”

link to this video Check this channel. I've used his videos to setup my env.