Skip to content

Does not handle attiny412 TCA0 possibly due to split mode #30

@APan55555

Description

@APan55555

When I run atdf2svd for the attiny412, the following warnings appear:

Warning: Unhandled register node: "<register-group name-in-module=\"TCA_SINGLE\" offset=\"0\" name=\"SINGLE\" union-tag-value=\"0\" ...>"
Warning: Unhandled register node: "<register-group union-tag-value=\"1\" name-in-module=\"TCA_SPLIT\" name=\"SPLIT\" offset=\"0\" ...>"
Warning: Merging interrupt TCA0_LUNF and TCA0_OVF to TCA0_LUNF_OVF
Warning: Merging interrupt TCA0_LCMP0 and TCA0_CMP0 to TCA0_LCMP0_CMP0
Warning: Merging interrupt TCA0_CMP1 and TCA0_LCMP1 to TCA0_CMP1_LCMP1
Warning: Merging interrupt TCA0_CMP2 and TCA0_LCMP2 to TCA0_CMP2_LCMP2
Warning: No registers found for peripheral "TCA0"

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions