Add attiny84 and atmega644 to `src/lib.rs`
Add attiny841 and attiny861
Replace gen-intr-lut.sh sed hack with svdtools
svdtools comes with a command to list all interrupts
from an SVD file. Use this instead of fragile sed magic
which parses the generated rust code.
Add basic support for ATmega4809
ci: Use latest version of svd2rust
The latest git version of svd2rust contains some important fixes that we
depend on. Use it instead of the latest version from crates.io.
Signed-off-by: Rahix <rahix@rahix.de>
Update instructions for adding a new chip
Mention that it is currently required to add a (possibly empty) patch
file for a new chip.
Fixes: #65
Signed-off-by: Rahix <rahix@rahix.de>
atmega64: Patch UMSELn fields in USART
These fields for some reason have a wrong bit range in the ATDF file.
Signed-off-by: Rahix <rahix@rahix.de>
patch: spi: Patch enumerated values for SPI prescaler
Rename the values for the SPI clock prescaler from VAL_0xXX to more
meaningful identifiers.
Signed-off-by: Rahix <rahix@rahix.de>
ci: Fix nightly to a version where rustfmt is available
rustfmt has gone unavailable on nightly again. Fix the compiler to
a version which rustfmt can be downloaded for.
README: Mention alternative location for pack downloads
The avr-rust organization has a mirror of all Atmel packs in a GitHub
repository. Mention it as an alternative to the official download as it
is much easier to browse.
Closes #61.
Add support for atmega328pb
fix: atmegaX8 TIFR should be read-write
fix: attiny84 ADCSRA should be read-write