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

Lack of peripherals registers view because wrong .svd file name is used. #58

Closed
Nefarious19 opened this issue Aug 26, 2024 · 1 comment

Comments

@Nefarious19
Copy link

Generated launch.json fle contains this lines:

obraz

However, retrieved chip ID is different than name of svd files in pico-sdk/sdk/2.0.0/src/rpXXXX/hardware_regs/RPXXXX.svd
Those svd files names are using Uppercase, retrieved chip id is Lowercase. This causes problem on Linux (Ubuntu 22.04 in my case) and regiters cannot be viewed in Debug View XPERIPHERALS:

obraz

Changing manually name to RPXXXX.svd fixes the problem. I think those files should be changed in SDK to Lowercase to be consistent.

@will-v-pi
Copy link
Collaborator

I don't think we can rename them in the SDK, for backwards compatibility reasons. I've added a getChipUppercase command and fixed the generated launch.json file instead

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