Skip to content

andrewhofmann/bare-metal-drivers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bare-metal-drivers

Register-level peripheral drivers for STM32 — no HAL dependency

Prerequisites

  • arm-none-eabi-gcc toolchain
  • CMake 3.22+
  • OpenOCD (for flashing via ST-Link)

Building

cmake -B build -DCMAKE_BUILD_TYPE=Debug
cmake --build build

The build produces firmware.elf, .bin, and .hex in the build/ directory.

To flash to an STM32F103 (Blue Pill) board:

cmake --build build --target flash

Status

Under active development.

License

MIT

About

Register-level peripheral drivers for STM32 — no HAL dependency

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors