Register-level peripheral drivers for STM32 — no HAL dependency
arm-none-eabi-gcctoolchain- CMake 3.22+
- OpenOCD (for flashing via ST-Link)
cmake -B build -DCMAKE_BUILD_TYPE=Debug
cmake --build buildThe build produces firmware.elf, .bin, and .hex in the build/ directory.
To flash to an STM32F103 (Blue Pill) board:
cmake --build build --target flashUnder active development.
MIT