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

_strip doesn't seem to work on cluster names #249

Open
cosmikwolf opened this issue Oct 10, 2024 · 0 comments
Open

_strip doesn't seem to work on cluster names #249

cosmikwolf opened this issue Oct 10, 2024 · 0 comments

Comments

@cosmikwolf
Copy link
Contributor

given the SVD:

<peripheral>
    <cluster>
      <dim>1</dim>
      <dimIncrement>0xFC</dimIncrement>
      <dimArrayIndex/>
      <name>CANFD0_MCAN[%s]</name>
      <addressOffset>0x7000</addressOffset>
      <register>
        ...
      </register>
</peripheral>

This doesn't strip the prefix from the title of the cluster:

"CANFD0":
  _strip:
    - "CANFD?_"
  _clusters:
    "CANFD*":
      _strip:
        - "CANFD?_"

It does work on the registers within the cluster, just not the cluster itself.

Same SVD file as in this issue:
#245

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