-
Notifications
You must be signed in to change notification settings - Fork 238
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
Add option to specify custom openocd.gdb conf file #287
Comments
It sounds like you don't want to use this extension. It already does all of that automatically And, there are tons of ways to customize it. Play with launch.json and use IntelliSense and there are a host of options customize. Even the default configuration you create in VSCode will probably suffice. Setting your own breakpoints is not a good idea in VSCode because it manages all of them. Not even this extension. |
I found this: https://github.com/haneefdm/cortex-debug-samples/blob/master/blink2/.vscode/launch.json And added those lines for enabling semihosting:
I would have expected to see
|
Yes, that is my github repo but it is old and for personal use when I was learning VSCode. Notice I was experimenting with multiple debuggers at the time, then decided this is a better extension for Cortex devices so I started contributing. If you want it to add custom commands. with pre/post/override launch/attach/restart feel free. You used post restart instead of launch. |
Thanks. This did the trick.
|
It would be useful for example to enable semihosting in
openocd.gdb
:Related: rust-embedded/cortex-m-quickstart#85
The text was updated successfully, but these errors were encountered: