Rahix / avr-device

Register access crate for AVR microcontrollers
Apache License 2.0
176 stars 67 forks source link

implement cortex-m-rt-macros static mut conversion #79

Closed tones111 closed 3 years ago

tones111 commented 3 years ago

This change brings in the cortex-m-rt macro support to identify and convert static mut variables as described in the embedded rust book chapter on exceptions.

Rahix commented 3 years ago

Nice work, thanks a lot! I'll take a closer look and try this out later. The CI failures are something I need to fix, it's using an older version of rustc. You'll need to rebase once I have fixed it.

Rahix commented 3 years ago

Hey @tones111,

super sorry for not reacting until now :( I've pushed a fix for the CI issue to main, can you please rebase you branch ontop of that so CI in this PR will start working again?

Rahix commented 3 years ago

Test went fine, thanks a lot!