libopencm3/libopencm3
Open source ARM Cortex-M microcontroller library observed · 2026-08-28
Health v2 · maintenance only
74/100
- Activity 93
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5250
- days_rel: n/a
- days_push: 44
- n_releases_24m: 0
Adoption not part of the score
3639 stars · 1130 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
An open-source firmware library written in C for ARM Cortex-M microcontrollers, supporting families like ST STM32, Atmel SAM, NXP LPC, TI Tiva, Nordic nRF, and EFM32. It provides low-level peripheral drivers built from vendor datasheets and is used with an arm-none-eabi GCC toolchain and OpenOCD for flashing.
Use cases
- write bare-metal firmware for STM32 without vendor HAL
- blink an LED on a Cortex-M microcontroller
- drive UART, SPI, I2C, and GPIO peripherals on ARM Cortex-M chips
- build open-source firmware for Nordic nRF52 or Atmel SAM boards
- replace proprietary vendor libraries with a free LGPL alternative
- flash and debug Cortex-M code with OpenOCD
When to choose
- you want a fully open-source, vendor-independent firmware library for Cortex-M
- you need fine-grained low-level register access rather than a heavy HAL
- you target STM32, SAM, LPC, Tiva, or nRF families with a GCC toolchain
When to avoid
- you want vendor-supported HALs with official certification and support
- you need complete peripheral coverage for every supported chip, as support is uneven
- you prefer an RTOS or higher-level framework like Zephyr or mbed
Facets
library · maturity active
embedded sdk developer-tools embedded-systems hardware cross-platform embedded c windows arm-cortex-m firmware microcontrollers stm32 bare-metal openocd linux macos
3 sources
- readme: https://github.com/libopencm3/libopencm3 · fetched 2026-08-28 · 6cd833112d89
- homepage: http://libopencm3.org/ · fetched 2026-08-29 · 7757437bccc6
- site_page: http://libopencm3.org/docs/latest/html/index.html · fetched 2026-08-29 · 515463b12443
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| libopencm3/libopencm3 | main | 74 |
For agents
markdown · JSON · MCP: product_card(name="libopencm3/libopencm3")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem