# stm32flash mit Homebrew, apk, apt, MacPorts, Nix, zypper installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für stm32flash in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:stm32flash
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install stm32flash
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install stm32flash
```

  Evidenz: MacPorts ports tree: devel/stm32flash/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add stm32flash
```

  Evidenz: Alpine Linux edge package indexes: stm32flash from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install stm32flash
```

  Evidenz: Debian stable package indexes: stm32flash from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#stm32flash
```

  Evidenz: nixpkgs package indexes: pkgs/by-name/st/stm32flash/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install stm32flash
```

  Evidenz: openSUSE Tumbleweed package metadata: stm32flash from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Paketfakten

- **Paketschlüssel:** brew:stm32flash
- **Paketmanager:** Homebrew
- **Version:** 0.7
- **Quellzusammenfassung:** Open source flash program for STM32 using the ST serial bootloader
- **Homepage:** <https://sourceforge.net/projects/stm32flash/>
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- stm32flash (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 0.7
## Projektgeschichte und Nutzung

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.

### Projektgeschichte

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.

### Adoptionsgeschichte

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.

### Wie es verwendet wird

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.

### Warum Paket-Nerds sich dafür interessieren

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.

### Zeitleiste

- 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.

### Quellen

- <https://sourceforge.net/p/stm32flash/code>
- <https://sourceforge.net/p/stm32flash/wiki/Home/>
- <https://stm32flash.sourceforge.net/stm32flash-manual.pdf>
- source_facts.package-manager


## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- narrow executable package without higher-risk signals

## Andere Paketmanager-Einträge

- Debian apt - stm32flash - 0.7-1: normalized package name match | Debian stable package indexes: stm32flash from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | STM32 chip flashing utility using a serial bootloader | http://stm32flash.sourceforge.net/
- Nix - stm32flash: normalized package name match | nixpkgs package indexes: pkgs/by-name/st/stm32flash/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - stm32flash - 0.7-1: normalized package name match | Ubuntu 24.04 LTS package indexes: stm32flash from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | STM32 chip flashing utility using a serial bootloader | http://stm32flash.sourceforge.net/
- apk - stm32flash - 0.7-r0: normalized package name match | Alpine Linux edge package indexes: stm32flash from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Flash STM32 ARM SoCs using built-in ST serial bootloader over UART or I2C | https://sourceforge.net/p/stm32flash/wiki/Home/
- apk - stm32flash-doc - 0.7-r0: normalized package name match | Alpine Linux edge package indexes: stm32flash-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Flash STM32 ARM SoCs using built-in ST serial bootloader over UART or I2C (documentation) | https://sourceforge.net/p/stm32flash/wiki/Home/
- zypper - stm32flash - 0.7-1.12: normalized package name match | openSUSE Tumbleweed package metadata: stm32flash from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Flash Program for the STM32 Bootloader | https://sourceforge.net/p/stm32flash/wiki/Home
- MacPorts - stm32flash: normalized package name match | MacPorts ports tree: devel/stm32flash/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/stm32flash.yml](https://github.com/mxcl/pkgdb/blob/main/combined/stm32flash.yml)


## Quellen

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
