rust-embedded / svd2rust

Generate Rust register maps (`struct`s) from SVD files
Apache License 2.0
687 stars 149 forks source link

use svd-parser Index #631

Closed burrbull closed 2 years ago

burrbull commented 2 years ago

Should fix #528 #610 #623 #625

rust-highfive commented 2 years ago

r? @Emilgardis

(rust-highfive has picked a reviewer for you, use r? to override)

burrbull commented 2 years ago

cc @qwandor Test this, please.

burrbull commented 2 years ago

This is not ideal as it still copies derived registers instead of using of reexport/alias, but it is task for other PR in my view.

burrbull commented 2 years ago

cc @Emilgardis let's merge this

bors[bot] commented 2 years ago

Build succeeded:

qwandor commented 2 years ago

@burrbull The resulting code builds, so that's promising. I haven't had a chance to do any more extensive tests yet.