riscv-rust / k210-pac

Peripheral access API crate (PAC) for K210 SoC, generated by svd2rust
29 stars 23 forks source link

Manually Expanded Fields with %s names due to svd2rust bug #36

Closed Knight-Ops closed 3 years ago

Knight-Ops commented 3 years ago

Fixes #35

Due to a bug/missing feature of svd2rust (see https://github.com/rust-embedded/svd2rust/issues/44) It seems that fields cannot be expanded with tags, as a hack to allow this SVD to work with svd2rust, I have just manually expanded all of the fields that cause errors.

I did not update the created lib.rs.

Knight-Ops commented 3 years ago

Closing since this works with bleeding edge svd2rust