# stm32flash を Homebrew, apk, apt, MacPorts, Nix, zypper でインストール

stm32flash のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install stm32flash
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install stm32flash
```

  証拠: 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
```

  証拠: 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
```

  証拠: 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
```

  証拠: 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
```

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

## パッケージ情報

- **パッケージキー:** brew:stm32flash
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.7
- **ソース概要:** Open source flash program for STM32 using the ST serial bootloader
- **ホームページ:** <https://sourceforge.net/projects/stm32flash/>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- stm32flash (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.7
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

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

### ソース

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


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

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


## ソース

- 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
