# ObKo/stm32-cmake

CMake for stm32 developing.

Repository: https://github.com/ObKo/stm32-cmake
Canonical: https://ross.abutalabs.com/products/stm32-cmake
Language: C
License: MIT
License Family: permissive
Last push: 2026-07-25T14:10:55+00:00

## Health v2 (maintenance only)
Score: 65/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 94, release rhythm 8, longevity 100
- inputs: {"age_days": 5318, "days_push": 39, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1371, forks 356 (observed 2026-08-28T04:04:32.016122+00:00)

## What it is
A set of CMake toolchain files and modules for developing STM32 (ARM Cortex-M) firmware with GCC, newlib, and STM32Cube. It provides device family metadata, CMSIS/HAL find modules, linker script generation, and project templates.

## Use cases
- set up cmake cross-compilation for stm32
- build stm32 firmware with gcc toolchain
- generate linker scripts for cortex-m mcus
- use stm32cube hal with cmake
- create a project template for stm32 development
- build firmware for multiple stm32 families

## When to choose
- you develop STM32 applications in C/C++ with CMake and GCC
- you need automatic device family, flash/RAM size, and CMSIS/HAL configuration
- you want FreeRTOS or other RTOS integration for STM32 builds

## When to avoid
- you use a different vendor's MCU or non-ARM Cortex-M target
- you prefer IDE-managed builds like STM32CubeIDE or PlatformIO
- your project doesn't use CMake

## Facets
- artifact type: library
- maturity: active
- function: build-tool, embedded, developer-tools
- domain: embedded-systems, developer-tools, hardware
- platform: embedded, windows, cpp
- tags: stm32, cmake, arm-cortex-m, cross-compilation, toolchain, stm32cube, hal, cmsis, microcontroller, firmware, linux, macos

## Member repositories
- ObKo/stm32-cmake (main) score 65

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:32.016122+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:40:48.619179+00:00, confidence not recorded.
  - readme: https://github.com/ObKo/stm32-cmake (fetched 2026-08-28T04:04:32.016122+00:00, sha e35f88b8ff50)
- Data as of 2026-08-30T08:39:29.467469+00:00.
