finds.dev← search

// the find

stlink-org/stlink

★ 5,086 · C · BSD-3-Clause · updated Oct 2025

Open source STM32 MCU programming toolset

stlink is the de-facto open source toolchain for flashing and debugging STM32 microcontrollers over the STLINK USB programmer hardware. It covers all four hardware generations (V1 through V3) and exposes flash write, GDB server, trace, and chip info as separate CLI tools. If you're doing STM32 work outside of the official STM32CubeProgrammer ecosystem, this is what you use.

All four STLINK hardware generations supported under one codebase, including the obsolete V1 over SCSI passthrough — useful when you're stuck with old eval boards. Chip definitions are externalized into .chip config files rather than hardcoded, making it straightforward to add new MCU variants without rebuilding. The GDB server (st-util) integrates cleanly with VSCode via Cortex-Debug, which is the realistic workflow for most developers. Packaging is genuinely multi-platform: proper udev rules, deb/rpm packaging infra, and standalone Windows binaries on releases.

macOS support was dropped entirely in v1.8.0 — if you're on Mac you're stuck on v1.7.0 which is unmaintained. The test suite is thin: three files covering flash, sg_legacy, and USB, nothing close to the breadth of what st-flash and st-util actually do. The Windows build is 32-bit only even in 2025, which is an unnecessary limitation that will eventually bite someone in a toolchain that expects 64-bit paths. Activity has slowed noticeably; the last release took a long time and several PRs against develop have been sitting without review.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →