Automic VaultAutomic Vault

brew

Install stm32flash with Homebrew, apk, apt, MacPorts, Nix, zypper

Open source flash program for STM32 using the ST serial bootloader. Version 0.7 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install stm32flash

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install stm32flash

MacPorts ports tree · devel/stm32flash/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add stm32flash

Alpine Linux edge package indexes · stm32flash · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install stm32flash

Debian stable package indexes · stm32flash · source: deb.debian.org

Nixverified · 92%
nix profile install nixpkgs#stm32flash

nixpkgs package indexes · pkgs/by-name/st/stm32flash/package.nix · source: api.github.com

openSUSE zypperverified · 92%
sudo zypper install stm32flash

openSUSE Tumbleweed package metadata · stm32flash · source: download.opensuse.org

overview

Package summary

Open source flash program for STM32 using the ST serial bootloader

Commands and aliases

  • stm32flash

history

Project history and usage

stm32flash is an open source cross-platform flashing utility for STM32 ARM microcontrollers using the built-in ST serial bootloader over UART or I2C. Its history is small but useful: it is the serial-bootloader counterpart to USB ST-LINK tools.

Project history

The official SourceForge wiki says stm32flash was originally written by Geoffrey McRae and has been maintained by Tormod Volden since 2012. The same page identifies the SourceForge Git repository as the code host and also notes a GitLab mirror.

Adoption history

The SourceForge wiki documents release downloads and version 0.7 released on 2022-03-26. The input package metadata lists availability in Homebrew, Debian, MacPorts, Nix, Ubuntu, Alpine, and openSUSE-related package managers, showing that it remains packaged for embedded workflows.

How it is used

Users run stm32flash against a tty or I2C device to identify devices, read or write flash or RAM, verify writes, erase pages, start execution at an address, reset on exit, and optionally use GPIO sequences to enter bootloader mode.

Why package nerds care

Package nerds care because stm32flash is a minimal C-style command-line utility for boards that expose the ROM bootloader through common serial adapters. It packages the kind of hardware recovery and firmware-flashing workflow that developers want available from a distro or Homebrew install.

Timeline

  • 2012: Tormod Volden became maintainer according to the official SourceForge wiki.
  • 2022: stm32flash 0.7 was released on 2022-03-26 according to the official wiki.
  • 2020s: The official wiki documents UART and I2C transports, SourceForge Git hosting, and a GitLab mirror.

Related projects

  • STMicroelectronics STM32 microcontrollers are the target devices.
  • ST serial bootloader protocols are the communication basis.
  • stlink is a related STM32 flashing/debugging package for ST-LINK hardware rather than the serial bootloader path.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 13 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
stm32flashcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.7
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://sourceforge.net/projects/stm32flash/

install metadata

Package metadata

Package keybrew:stm32flash
Version0.7
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/stm32flash
Homepagehttps://sourceforge.net/projects/stm32flash/
Repositoryhttps://sourceforge.net/p/stm32flash/code
Upstream docshttps://sourceforge.net/p/stm32flash/wiki/Home
LicenseGPL-2.0-or-later
Source archivehttps://downloads.sourceforge.net/project/stm32flash/stm32flash-0.7.tar.gz
Bottleavailable (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namestm32flash
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

stm32flash 0.7-1

STM32 chip flashing utility using a serial bootloader

http://stm32flash.sourceforge.net/

sudo apt install stm32flash
  • Section: electronics
  • Architecture: amd64
  • 1 dependencies
  • normalized package name match
  • Matched by: Stm32flash
Debian stable package indexes · deb.debian.org · Debian stable package indexes: stm32flash from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

stm32flash

nix profile install nixpkgs#stm32flash
  • normalized package name match
  • Matched by: Stm32flash
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/st/stm32flash/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

stm32flash 0.7-1

STM32 chip flashing utility using a serial bootloader

http://stm32flash.sourceforge.net/

sudo apt install stm32flash
  • Section: universe/electronics
  • Architecture: amd64
  • 1 dependencies
  • normalized package name match
  • Matched by: Stm32flash
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: stm32flash from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

stm32flash 0.7-r0

Flash STM32 ARM SoCs using built-in ST serial bootloader over UART or I2C

https://sourceforge.net/p/stm32flash/wiki/Home/

sudo apk add stm32flash
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: stm32flash
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Stm32flash
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: stm32flash from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

stm32flash-doc 0.7-r0

Flash STM32 ARM SoCs using built-in ST serial bootloader over UART or I2C (documentation)

https://sourceforge.net/p/stm32flash/wiki/Home/

sudo apk add stm32flash-doc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: stm32flash
  • normalized package name match
  • Matched by: Stm32flash
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: stm32flash-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
zypper95%

stm32flash 0.7-1.10

Flash Program for the STM32 Bootloader

https://sourceforge.net/p/stm32flash/wiki/Home

sudo zypper install stm32flash
  • License: GPL-2.0-or-later
  • Category: Hardware/Other
  • Architecture: x86_64
  • Source Package: stm32flash
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Stm32flash
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: stm32flash from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

stm32flash

sudo port install stm32flash
  • normalized package name match
  • Matched by: Stm32flash
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/stm32flash/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment