Skip to content

Generate Rust register maps (`struct`s) from SVD files

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

rust-embedded/svd2rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Jan 14, 2020
ec96cf5 · Jan 14, 2020
Mar 4, 2019
Jan 1, 2020
Jan 14, 2020
May 8, 2018
May 16, 2018
Jan 1, 2020
Jan 14, 2020
Aug 7, 2018
Dec 31, 2019
Oct 9, 2016
Oct 9, 2016
Jan 1, 2020
Feb 8, 2019

Repository files navigation

crates.io crates.io

svd2rust

Generate Rust register maps (structs) from SVD files

This project is developed and maintained by the Tools team.

Requirements

The generated code is intended to compile on all stable versions of Rust greater or equal to 1.37.0, as well as the latest beta and the latest nightly.

If you encounter compilation errors on any stable version newer than 1.37.0, please open an issue.

Testing Locally

svd2rust-regress is a helper program for regression testing changes against svd2rust. This tool can be used locally to check modifications of svd2rust locally before submitting a PR.

Check out the svd2rust-regress README for information on how to use this tool.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Code of Conduct

Contribution to this crate is organized under the terms of the Rust Code of Conduct, the maintainer of this crate, the Tools team, promises to intervene to uphold that code of conduct.