70 releases (34 breaking)

0.35.0 Nov 13, 2024
0.33.5 Oct 15, 2024
0.33.4 Jun 16, 2024
0.33.0 Mar 31, 2024
0.1.2 Nov 27, 2016

#326 in Embedded development

Download history 290/week @ 2024-08-07 243/week @ 2024-08-14 264/week @ 2024-08-21 197/week @ 2024-08-28 294/week @ 2024-09-04 202/week @ 2024-09-11 334/week @ 2024-09-18 486/week @ 2024-09-25 415/week @ 2024-10-02 469/week @ 2024-10-09 522/week @ 2024-10-16 342/week @ 2024-10-23 407/week @ 2024-10-30 573/week @ 2024-11-06 554/week @ 2024-11-13 346/week @ 2024-11-20

1,928 downloads per month
Used in 4 crates

MIT/Apache

295KB
6K SLoC

GitHub top language Minimum Supported Rust Version crates.io crates.io Released API docs Crates.io dependency status Continuous integration

svd2rust

Generate Rust register maps (structs) from SVD files

This project is developed and maintained by the Tools team.

Documentation

Minimum Supported Rust Version (MSRV)

The generated code is guaranteed to compile on stable Rust 1.76.0 and up.

If you encounter compilation errors on any stable version newer than 1.76.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.

Dependencies

~5–7.5MB
~139K SLoC