Simplify ATtiny84 ADC patch
Extract common EXINT patch from tiny84/85
Extract common EEPROM patch from tiny84/85/88
Extract common USI patch from tiny84/85
Add PINx patch to ATtiny84
Add support for the ATtiny84
ATtiny85 TC0 patch also applies to ATtiny84
svdpatch: create fields element if register has no fields
Add atmega48p device support
Make the PINx registers writeable
Fix typo in ATtiny85 docs
make: Properly remove 'extern crate' lines
The previous sed expression would remove arbitrary lines which can break
easily. Instead, only remove actual extern crate lines.
This will provide a seamless upgrade to the next svd2rust version which
contains commit 85615cb0bbc8 ("Use and generate code for Edition 2018
only ") and thus no longer emits 'extern crate' lines.
Signed-off-by: Rahix <rahix@rahix.de>
Only emit inline-assembly when building for AVR
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.
Signed-off-by: Rahix <rahix@rahix.de>
Cause an error in the #[entry] macro instead of avr-device
Add basic support for ATmega168