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

Field matching for _replace_enum #97

Open
allexoll opened this issue Jan 26, 2022 · 0 comments
Open

Field matching for _replace_enum #97

allexoll opened this issue Jan 26, 2022 · 0 comments

Comments

@allexoll
Copy link

Field with * matching only patches the first occurrence of the match:

SYSCON:
  STARTERP1:
    "SPI*":
      _replace_enum:
        DISABLED: [0, Disabled]
        ENABLED: [1, Enabled]

this only matches SPI0, and not SPI1. I'm not sure if this is an intended behavior or if this is a bug?

applicable svd: https://gist.github.com/allexoll/2dc8d7ca2eca44bfe2b17f0c0769eba7

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

No branches or pull requests

1 participant