Rahix / avr-device

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

Only emit inline-assembly when building for AVR #42

Closed Rahix closed 4 years ago

Rahix commented 4 years ago

Make sure that we'll never emit AVR assembly on non-AVR targets. Instead of failing the build, fail at runtime, to allow a potential application testsuite to run even if those functions somehow get linked in.

Follow up to #41.