Each subdirectory contains a crate for a specific ARM microcontroller or processor.
Most crates have been generated as follows:
-
Obtain the SVD file from a vendor-specific source (should be documented in the
README.md
of the crate). -
Convert to Rust code using
svd2rust -i DEVICE.svd
(svd2rust docs). -
Unroll using
form -i lib.rs -o src
(form docs). -
Craft a
Cargo.toml
. -
Beautify using
cargo fmt
.