Skip to content

Error message improvements #37

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

malsyned
Copy link

I encountered some SVD files "in the wild" that peripheral-viewer produces some unhelpful error messages on. Hopefully this PR will save folks in the future some time and headache.

  • SEGGER Ozone comes with some SVD files that don't define any peripherals.
  • SVD files produced by running tixml2svd on XML distributed with TI Code Creator Studio v20.0.2 for TI Hercules Cortex-R MCUs contain some registers that lack addressOffsets.

SEGGER's Ozone comes with some SVD files that don't define any
peripherals. They're not useful for peripheral-viewer anyway, but maybe
this will save someone else some time tracking down why what they're
trying isn't working.
SVD files produced by running tixml2svd on XML distributed with TI Code
Creator Studio v20.0.2 for TI Hercules Cortex-R MCUs contain some
registers that lack addressOffsets. I've submitted a PR to fix that bug,
but I don't see the harm in also giving better guidance in the
diagnostic message that peripheral-viewer produces.
@malsyned malsyned changed the title Error improvements Error message improvements Feb 28, 2025
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