rust-embedded / svd2rust

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

Fix generated code for MSP430 atomics #685

Closed YuhanLiin closed 1 year ago

YuhanLiin commented 1 year ago

The current generated code for MSP430 atomics is not compatible with the rest of the generated code. This PR fixes this.

rust-highfive commented 1 year ago

r? @reitermarkus

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

burrbull commented 1 year ago

could you add ci tests to prevent this issue in future?

also update changelog

burrbull commented 1 year ago

@YuhanLiin I've rebased. See https://github.com/rust-embedded/svd2rust/compare/fix-msp430-atomic