stm32-rs/stm32-rs
Embedded Rust device crates for STM32 microcontrollers observed · 2026-08-28
Health v2 · maintenance only
64/100
- Activity 92
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3381
- days_rel: n/a
- days_push: 49
- n_releases_24m: 0
Adoption not part of the score
1657 stars · 262 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A collection of Rust peripheral access crates (PACs) for all STM32 microcontroller families, generated from SVD files via svd2rust with community patches. It provides a safe, type-safe API to device peripherals, one crate per STM32 family with feature-gated modules per device.
Use cases
- write Rust firmware for an STM32F4 microcontroller
- access STM32 peripherals like GPIO, UART, and SPI from Rust
- generate safe register-level APIs from SVD files
- find a peripheral access crate for STM32H7
- start embedded Rust development on STM32 boards
- patch vendor SVD files for better register documentation
When to choose
- you are writing bare-metal or no_std Rust firmware for any STM32 chip
- you need low-level, register-level access to STM32 peripherals
- you want community-patched, more accurate SVD-derived APIs than vendor files
When to avoid
- you want a high-level HAL with drivers rather than raw register access
- you are targeting non-STM32 microcontrollers
- you are programming in C/C++ rather than Rust
Facets
library · maturity active
embedded sdk developer-tools embedded-systems hardware programming-languages embedded rust stm32 rust pac svd2rust microcontroller peripheral-access-crate embedded-rust
2 sources
- readme: https://github.com/stm32-rs/stm32-rs · fetched 2026-08-28 · bd98c3118014
- homepage: https://stm32-rs.github.io/stm32-rs/ · fetched 2026-08-29 · 4da49831066d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| stm32-rs/stm32-rs | main | 64 |
For agents
markdown · JSON · MCP: product_card(name="stm32-rs/stm32-rs")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem