rust-embedded / svd2rust

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

reexport features #757

Closed burrbull closed 10 months ago

Emilgardis commented 11 months ago

why haven't we already done this? :3

adamgreig commented 10 months ago

why haven't we already done this? :3

Right now, the PACs must re-export the interrupt macro, but we hope to make this not required soon by changing how the macro works in cortex-m-rt. Re-exporting core peripherals was never required though, so making this optional helps reduce external dependencies - the hope is to make it so PACs don't depend on cortex-m or cortex-m-rt at all.

burrbull commented 10 months ago

@Emilgardis next one, please

Emilgardis commented 10 months ago

docs might need to be updated also