Skip to content

registers_with_uniq_names#216

Draft
astro wants to merge 4 commits into
rust-embedded:masterfrom
astro:registers_with_uniq_names
Draft

registers_with_uniq_names#216
astro wants to merge 4 commits into
rust-embedded:masterfrom
astro:registers_with_uniq_names

Conversation

@astro

@astro astro commented May 11, 2018

Copy link
Copy Markdown
Contributor

Here is a proposal to solve one more issue I found in the LPC13xx .svd file: registers with duplicate names.

This PR does not simply drop the duplicate identifiers but tries to rename them by appending 2, or 3, and so on.

@astro

astro commented May 11, 2018

Copy link
Copy Markdown
Contributor Author

I had to add more remedies to get valid code generated from this .svd file. Suggestions for improving this PR are welcome!

@Emilgardis

Copy link
Copy Markdown
Member

Adding _x to a register seems to me to be a sub-optimal solution. What registers have duplicate names? Could this be solved with <alternateGroup> (which has not been implemented as of v0.13.1)

@mathk

mathk commented Feb 22, 2019

Copy link
Copy Markdown

Ping from triage: @astro are you still looking for improvement idea ?

@mathk mathk added the S-waiting-on-author Status: The marked PR is awaiting some action (such as code changes) from the PR author. label Feb 22, 2019
@astro

astro commented Feb 27, 2019

Copy link
Copy Markdown
Contributor Author

@mathk That would be helpful.

@burrbull

Copy link
Copy Markdown
Member

If this is still actual, please rebase.

@burrbull burrbull marked this pull request as draft April 17, 2021 04:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-author Status: The marked PR is awaiting some action (such as code changes) from the PR author.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants