Example programs in Rust demonstrating how you can program an ARM microcontroller at four different levels of abstraction
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
stm32f3-board1
stm32f3-hal1
stm32f3-raw
stm32f3-svd2rust
README.md

README.md

At the moment, you can program your ARM microcontroller using Rust at four different levels:

  • Bare register programming using unsafe

  • Using the API autogenerated by svd2rust

  • Using an embedded-hal implementation

  • Using a board support crate

All of this is based on the work of Jorge Aparicio. This repository contains full implementations of an elementary light-up-the-LED program written using all four levels. The code runs on an STM32F3Discovery board.