Skip to content

Normalize tinyAVR 0/1-series ATDFs to one pack version#261

Open
G33KatWork wants to merge 1 commit into
Rahix:mainfrom
G33KatWork:atdf-update
Open

Normalize tinyAVR 0/1-series ATDFs to one pack version#261
G33KatWork wants to merge 1 commit into
Rahix:mainfrom
G33KatWork:atdf-update

Conversation

@G33KatWork

@G33KatWork G33KatWork commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Unify all vendor ATDFs on Microchip ATtiny_DFP.3.4.278 pack. The old files were a mix of versions, which broke atdf2svd: some parts were older schema-0.3 files that encoded TCA as a class="union" register-group, an encoding atdf2svd cannot handle. It produced no TCA0 in the PAC. The .278 pack encodes TCA as an ordinary register-group, so TCA0 is generated correctly. attiny1614 was additionally a pre-release schema-0.3 file with wrong CCL pin data.

Also add patches for the 816, 1606 and 1614 so they match their siblings.

@G33KatWork

Copy link
Copy Markdown
Contributor Author

FYI, this is essentially the same as #260
I haven't checked every single datasheet and checked if the changes are correct like in the previous PR, however I am currently working on the atxtiny-hal again and adding support for more and more chips and while doing so, I found these discrepancies in the ATDFs between the newer xx17 chips and these. Then I found the previous PR and just updated all the ones that are the new tiny chips and fixed some patching as well.

Unify all vendor ATDFs on Microchip ATtiny_DFP.3.4.278 pack. The old
files were a mix of versions, which broke atdf2svd: some parts were
older schema-0.3 files that encoded `TCA` as a `class="union"`
register-group, an encoding atdf2svd cannot handle. It produced no
`TCA0` in the PAC. The .278 pack encodes `TCA` as an ordinary
register-group, so `TCA0` is generated correctly. attiny1614 was
additionally a pre-release schema-0.3 file with wrong CCL pin data.

Also add patches for the 816, 1606 and 1614 so they match their
siblings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant