-
Notifications
You must be signed in to change notification settings - Fork 167
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
VSCode GDB Launch Configuration Not Taken From openocd.gdb
#85
Comments
AFAIK it’s not currently possible to load a gdb script through the cortex-debug extension. I would encourage you to open an issue there as I couldn’t find a related one. I think it’s reasonable to open a PR that adds semihosting to the QEMU launch config, since the stm32f303 config is set up to use ITM. That way we have an example for both communication mechanisms. QEMU doesn’t support ITM, so it seems reasonable, to me, for it to be the one to be configured for semihosting. |
You can add this to your
Also |
Damn, I should have read OP more carefully. It was all there. |
Can this issue be closed? |
Is there a way to configure the extension to show |
Ah, nevermind, |
Would it be possible to configure the VSCode
cortex-debug
extension to pull its gdb commands fromopenocd.gdb
? I ran into this when trying to use semihosting,openocd.gdb
enables it but thecortex-debug
launch configuration doesn't. If not (I couldn't see how), should I make a pull request to add"preLaunchCommands": ["monitor arm semihosting enable"]
to the launch configurations?The text was updated successfully, but these errors were encountered: