2 unstable releases
✓ Uses Rust 2018 edition
|new 0.2.0||Oct 9, 2019|
|0.1.0||May 26, 2019|
#45 in Embedded development
Used in 1 crate
This crate has support for most commonly used peripherals, but is not complete. Collaboration on this crate is highly welcome as are pull requests!
❗ Beta or nightly required
stm32h7xx-hal contains a hardware abstraction on top of the
peripheral access API for the STMicro STM32H7 series
microcontrollers. The selection of the MCU is done by feature gates,
typically specified by board support crates.
The currently supported feature gates are:
Feature gates for the
stm32h750 also exist but may not be
In 2019 ST released hardware Revision V of the STM32H742, STM32H743, STM32H750 and STM32H753 (eevblog). This hardware revision makes breaking hardware changes, documented in AN5312. These parts are supported with the following feature gates:
Again, feature gates
stm32h750v also exist.
The idea behind this crate is to gloss over the slight differences in the various peripherals available on those MCUs so a HAL can be written for all chips in that same family without having to cut and paste crates for every single model.
Much of the implementation was adapted from other HAL crates in the stm32-rs organisation.
Rustup toolchain installer
$ rustup target add thumbv7em-none-eabihf
You will need to change
stm32h743 to match your hardware.
$ cargo build --release --examples --features stm32h743,rt
$ cargo run --release --features stm32h743,rt --example blinky
This will start