Skip to content
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

Update SVD2Swift to generate RegisterArrays #116

Merged
merged 4 commits into from
Aug 23, 2024
Merged

Conversation

rauhul
Copy link
Collaborator

@rauhul rauhul commented Aug 22, 2024

Updates SVD2Swift to automatically generate RegisterArrays for
dimensioned SVD instances (excluding fields) instead of N instances
being generated as peers suffixed by an index.

Introduces RegisterProtocol to standardize the API for register types
needed for RegisterArray to work with both @RegisterBlocks and
Registers.

Updates the XML decoding library and macro implementation to handle
decoding optional @XMLInlineElement properties and Updates the SVD
model structures, such as SVDCluster, to make dimensionElement
optional with non-optional child properties.

Consolidates the @XMLAttribute and @XMLInlineElement macro
implementations.

@rauhul rauhul changed the title WIP: dimensionelement support Update SVD2Swift to generate RegisterArrays Aug 23, 2024
@rauhul rauhul marked this pull request as ready for review August 23, 2024 20:15
@rauhul rauhul merged commit e54c11d into main Aug 23, 2024
5 checks passed
@rauhul rauhul deleted the svd2swift-dim-index branch August 23, 2024 20:15
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