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

Correct servertype identifier in "BlackMagic" programmer definition #851

Merged
merged 1 commit into from
Mar 13, 2024
Merged

Correct servertype identifier in "BlackMagic" programmer definition #851

merged 1 commit into from
Mar 13, 2024

Conversation

per1234
Copy link
Contributor

@per1234 per1234 commented Mar 12, 2024

When Arduino IDE initializes the integrated sketch debugger, it sets the servertype debug attribute to the value of the debug.server platform property.

This property must be set to one of the GDB Server type identifiers recognized by the Cortex-Debug debugger extension:

https://github.com/Marus/cortex-debug/blob/cfff611cc3578386c7ea83eebe6627bc2c013cef/debug_attributes.md#:~:text=in%20your%20PATH-,servertype,-string

supported types are jlink, openocd, pyocd, pe, stlink, stutil, qemu, bmp and external.

The previous value was not a recognized identifier, which caused the debugger initialization to fail when Tools > Programmer > BlackMagic was selected from the Arduino IDE menus:

Invalid servertype parameters. The following values are supported: "jlink", "openocd", "stlink", "stutil", "pyocd", "bmp", "pe", "qemu", "external"

When Arduino IDE initializes the integrated sketch debugger, it sets the `servertype` debug attribute to the value of the `debug.server` platform property.

This property must be set to one of the GDB Server type identifiers recognized by the Cortex-Debug debugger extension.

The previous value was not a recognized identifier, which caused the debugger initialization to fail:

Invalid servertype parameters. The following values are supported: "jlink", "openocd", "stlink", "stutil", "pyocd", "bmp", "pe", "qemu", "external"
@facchinm facchinm merged commit 7c7d186 into arduino:main Mar 13, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants