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

SVD viewer fails parsing #800

Closed
binbs opened this issue Jan 11, 2023 · 2 comments
Closed

SVD viewer fails parsing #800

binbs opened this issue Jan 11, 2023 · 2 comments

Comments

@binbs
Copy link

binbs commented Jan 11, 2023

Okay,
so i use the svd for the stm32f303 , which has an inverted ordering in the field values for registers MODER, OT and so on.
The higher numbered bits appear before the lower ones, and all deriveFrom enumeratedValues from field#0.

cortex-debug extension gives me an error, that it cannot parse the svd file.
The error points to svd.ts::153(by the output of the error message)

This lookahead seems to work at svd.ts::253 for regInfo(you have put some comment there), but i do not have any ts knowledge, so i cannot provide you with some appropriate PR.

@haneefdm
Copy link
Collaborator

Sorry for the delay, We are trying to refactor the SVD support.

This may be a duplicate of #809 This issue has been fixed but in a different repo/extension that is yet to be released. Due soon.

The new repo will be https://github.com/mcu-debug/svd-viewer

@haneefdm
Copy link
Collaborator

haneefdm commented Mar 13, 2023

Fixed in https://github.com/mcu-debug/peripheral-viewer

Please use that extension or install the latest pre-release of cortex-debug. Both are available in the marketplace. If you still have issues, please report them in the other repo

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

2 participants