Add Attiny417/817/1617/3217 support
This patch adds support for the Attiny417, 817, 1617 and 3217. These are all tinyAVR 1-series devices.
I added a lot of SVD patches for all tinyAVR devices in the common definition and one specific patch for the TCD timers that seem to be available only for the 1-series chips.
The patches add a lot of fixes and make things more ergonomically usable by properly turning things into arrays, adding proper enum values or fixing access (RW, RO, WO etc.) issues. They should all be fine, but might break other people's code. I am not sure what your policy is on something like this.
Hi, thanks a lot for your contribution! Just a heads-up, I am holding off merging new chips right now until #157 is merged, which quite significantly changes the way the register definitions are generated. I will ping you once this change has landed so you can rebase your changes ontop of it.
Here's the notification: #157 was merged :tada: Please rebase your work ontop of the new code-generation. You should be able to make out the new structure in src/devices/mod.rs from the way things look for the existing chips. The Makefile is dropped completely.
The patches add a lot of fixes and make things more ergonomically usable by properly turning things into arrays, adding proper enum values or fixing access (RW, RO, WO etc.) issues. They should all be fine, but might break other people's code. I am not sure what your policy is on something like this.
Simple: That's what semantic versioning is for. I'll bump the version appropriately to release such breaking changes. No need to hold back improvements, especially as we are still in 0 versioning land :D
In more serious terms: I am not afraid of releasing breaking changes for avr-device as users rarely need to update the version of this crate in their projects. On top of that, with #157, a lot has changed in the access API anyway (due to a much newer version of svd2rust), so users need to adapt in any case.
There we go! That should work :)
Famous last words... My YAML patches broke other chips. I'll check this out later and fix it.
edit: Fixed
Ping! This PR should be merge-able now. Let me know if not. Just making sure you have seen my recent changes as I am not sure when GitHub notifies you about this and I only replied to your comments.