Repository navigation
Wiring profile debug_port: choose SWD or JTAG for boards wired for both - #146
Merged
Merged
Conversation
Pins passed in the call win, then the profile's debug_port, then the automatic rule. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ns it Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New optional wiring-profile field `debug_port` (`"swd"`, `"jtag"` or null = automatic), validated like the other fields. No new argument on `flash`.
Order in `flash` (one place: `flash.select_port`):
When JTAG is chosen and SWD pins are known, `dap_start` still sends both with port jtag.
Behavior change: JTAG pins passed alone now mean JTAG even with SWD wired and an ARM target (before: SWD).
SDK + MCP together: README field lists, CHANGELOG 4.0.4, api_surface.json and tools_surface.json refreshed. MCP tests needing the field skip on an older SDK. Unit tests only; no hardware.
🤖 Generated with Claude Code