EdwardLu2018 / STM32-From-Scratch

Programming an STM32F103 from scratch at a bare metal register level. Writing my own minimal HAL and RTOS.
37 stars 5 forks source link

STM32-From-Scratch

Programming an STM32F103 microcontroller at the register level. Writing my own minimal HAL and eventually a simple RTOS.

The goal is to write low level drivers, and eventually an RTOS, without the use of fancy libraries and IDEs for embedded development.

Everything should be able to be done with just a Unix machine, make, and the gnu arm embedded toolchain.

Directories

Getting Started

Install arm-none-eabi toolchain and openocd.

MacOS

brew install arm-gcc-bin openocd