Rahix / avr-device

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

Add an #[entry] macro #30

Closed Rahix closed 4 years ago

Rahix commented 4 years ago

This is the last major thing needed for crates.io release. Add a #[entry] macro which hides the actual entry implementation. This will allow us to later transparently switch away from the avr-libc runtime to something completely custom.

The macro is similar to the one from cortex-m-rt. However, the automagic static mut vodoo has not yet been added here.

Fixes #15.