svd2rust icon indicating copy to clipboard operation
svd2rust copied to clipboard

Generate Rust register maps (`struct`s) from SVD files

Results 127 svd2rust issues
Sort by recently updated
recently updated
newest added

This flag allows implementing a marker trait for registers in specific memory addresses. These can then be used to implement methods on registers. One such example is providing atomic access...

S-waiting-on-review
T-tools

#627 made code much clearer in most of cases, but looks like it breaks on some SVDs which have different fields with identical enum names. cc @luojia65 For example some...

bug

S-waiting-on-review
T-tools

Hello, I'm currently working on a toy kernel on a raspberry pi, and I'm using svd2rust to generate the bindings to the aarch64 BCM2837 chip that the raspberry pi 3b...

To be able to manipulation of peripheral registers through bit-banding, the values of the offset of the modifiable bit fields in the registers are required. For example, there are functions...

This PR does some changes to how logging is done and displayed. More work maybe needed. Depends on rust-embedded/svd#172

S-waiting-on-review
T-tools

A tool to get diffs of output on code changes would be great to have, this would enable something like @ghost diff all which outputs > (x) changes have been...

enhancement

As per https://datasheets.raspberrypi.org/rp2040/rp2040-datasheet.pdf "2.1.2. Atomic Register Access" This looks vaguely similar to something that was done for the `msp430`. Unsure how common this is for cortex M registers across the...

The SVD file below generates two definitions of the struct `PIO0_`. This seems like a tricky edge case where the repetition is 0-3 + 6-32 with the same type, and...