Generate Rust register maps (
struct
s) from SVD files
This project is developed and maintained by the Tools team.
The generated code is guaranteed to compile on stable Rust 1.65.0 and up.
If you encounter compilation errors on any stable version newer than 1.65.0, please open an issue.
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.
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
at your option.
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.
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.