Skip to content

Building a local copy of stm32 rs

Arko edited this page Apr 28, 2019 · 1 revision

Download stm32-rs

https://github.com/stm32-rs/stm32-rs

Prerequisites

Requires svd2rust 0.14.0 or greater:

$ cargo install svd2rust

Build local stm32-rs

At the root of the stm32-rs directory

$ make

Reference local stm32-rs in stm32l0-hal

Add the following to your cargo.toml file

[dependencies.stm32l0]
path = "../stm32-rs-local/stm32l0"
Clone this wiki locally