-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does not handle attiny412 TCA0 possibly due to split mode #30
Comments
I think this was also discussed a bit in #4 already. The problem is that there isn't really a way to represent this well in SVD... |
Ok thanks! Are there any recommended resources to see how to add code for the peripheral after running svd2rust? |
We don't do that, everything has to be emitted by svd2rust correctly... Otherwise, maintaining the PACs would be a nightmare. So the correct course of action is:
|
As a pointer, there is an |
When I run atdf2svd for the attiny412, the following warnings appear:
These are omitting the ones regarding no field description. The svd file generated doesn't have the TCA0 peripheral as a result.
I suspect this is due to the split mode of the peripheral resulting in register blocks that overlap in the atdf (one for the single mode and one for the split mode) that the program doesn't know how to handle.
Adding support for this would be great!
The text was updated successfully, but these errors were encountered: