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

Unable to parse SVD file #1

Open
vindicatorr opened this issue Jun 21, 2019 · 1 comment
Open

Unable to parse SVD file #1

vindicatorr opened this issue Jun 21, 2019 · 1 comment

Comments

@vindicatorr
Copy link

vindicatorr commented Jun 21, 2019

"device": "STM32F407VG"

Unable to parse SVD file: Error: ENOENT: no such file or directory, open '/home/username/.vscode-insiders/extensions/marus25.cortex-debug-dp-stm32f4-1.0.0/data/STM32F40x.svd'

extensions.ts

cdbg.registerSVDFile(/STM32F40[57][RVZI][GE]/i, path.join(context.extensionPath, 'data', 'STM32F40x.svd'));

STM32F40x.svd doesn't seem to yet exist in https://github.com/Marus/cortex-debug-db-stm32f4/tree/master/data.

It's no big deal for me since I already had the STM32F407.svd, but I just wanted to see the changes in the 0.3.0 Cortex-Debug update changelog.
I commented out the "svdFile" line in my launch.json, for the moment, to see it in action.

Also for anyone else updating, for some reason after I updated Cortex-Debug and was reading through the changelog and saw the part about these additional extensions that could be found by searching for "cortex-debug" in the marketplace, no other extensions showed up besides the one from discotools.
I tried multiple times, and think they finally showed up in the search after I closed/reopened vscode. Updating cortex-debug did NOT require a restart.

EDIT0:
Heh, the 0.3.1 update came quickly. Don't know what's in that though.

@andresv
Copy link

andresv commented Feb 20, 2020

I was using it with STM32F405 which is also missing.
There is very nice central repository for SVD files: https://github.com/posborne/cmsis-svd/tree/master/data/STMicro
Currently I am taking F405 file from there.

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