35 unstable releases

new 0.18.0 Apr 17, 2021
0.17.0 Dec 31, 2019
0.16.1 Aug 17, 2019
0.15.2 Jul 29, 2019
0.1.2 Nov 27, 2016

#189 in Embedded development

Download history 63/week @ 2020-12-29 131/week @ 2021-01-05 64/week @ 2021-01-12 129/week @ 2021-01-19 136/week @ 2021-01-26 162/week @ 2021-02-02 197/week @ 2021-02-09 210/week @ 2021-02-16 128/week @ 2021-02-23 74/week @ 2021-03-02 84/week @ 2021-03-09 73/week @ 2021-03-16 192/week @ 2021-03-23 177/week @ 2021-03-30 201/week @ 2021-04-06 338/week @ 2021-04-13

672 downloads per month

MIT/Apache

160KB
3.5K SLoC

crates.io crates.io

svd2rust

Generate Rust register maps (structs) from SVD files

This project is developed and maintained by the Tools team.

Documentation

API

Minimum Supported Rust Version (MSRV)

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

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

~5MB
~115K SLoC