# stlink-org/stlink

Open source STM32 MCU programming toolset

Repository: https://github.com/stlink-org/stlink
Canonical: https://ross.abutalabs.com/products/stlink
Language: C
License: BSD-3-Clause
License Family: permissive
Topics: stlink, stm32, chip, embedded, gdb, nucleo, board, toolset, arm, cortex-m, microcontroller, mcu, semihosting, trace
Last push: 2026-08-15T20:33:10+00:00

## Health v2 (maintenance only)
Score: 66/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 97, release rhythm 8, longevity 100
- inputs: {"age_days": 5710, "days_push": 18, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5145, forks 1321 (observed 2026-08-28T04:09:11.296037+00:00)

## What it is
An open-source toolset for programming and debugging STM32 microcontrollers via STLINK programmer hardware, including flash tools, a GDB server, chip info utilities, and a communication library. It supports all four generations of STLINK adapters and their clones across Linux, macOS, and Windows.

## Use cases
- flash firmware to an STM32 microcontroller
- debug STM32 firmware with GDB in VS Code
- read chip information from an STLINK programmer
- dump or write flash memory on an STM32 board
- trace execution on a Cortex-M microcontroller
- use a cheap STLINK clone instead of ST's proprietary tools
- serve a remote ST-LINK over TCP

## When to choose
- you program or debug STM32/ARM Cortex-M devices with STLINK hardware
- you want an open-source alternative to ST's STM32CubeProgrammer
- you need a GDB server for embedded development in VS Code or other IDEs

## When to avoid
- you target non-ST microcontrollers or non-STLINK debug probes
- you need a full IDE or graphical flashing suite with vendor support
- you work with other debug protocols like J-Link without STLINK hardware

## Facets
- artifact type: cli-tool
- maturity: active
- function: developer-tools, embedded, cli, gui, sdk
- domain: embedded-systems, developer-tools, hardware
- platform: windows, cli, cross-platform
- tags: stm32, stlink, flash-programming, gdb-server, jtag, swd, cortex-m, firmware-flashing, debugging, microcontroller, linux, macos

## Member repositories
- stlink-org/stlink (main) score 66

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:11.296037+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:01:58.244823+00:00, confidence not recorded.
  - readme: https://github.com/stlink-org/stlink (fetched 2026-08-28T04:09:11.296037+00:00, sha 3704485d136e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
