Repository navigation
Add opt-in MCP2222 USB bridge detection - #419
Merged
Merged
Conversation
Co-authored-by: Limor Fried <ladyada@users.noreply.github.com>
Base MCP2222 support on the dedicated board-helper fix and keep its regression tests in that change. Co-authored-by: Limor Fried <ladyada@users.noreply.github.com>
ladyada
approved these changes
Oct 28, 2026
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.
Add opt-in MCP2222 detection with
BLINKA_MCP2222=1, checking Microchip VID/PID04d8:0b15throughlibusb_package. Expose the chip/board IDs and board-family helper for the companion Blinka backend. The optional USB dependency is supplied by Microchip'spymcp2222package.Depends on #420, which fixes the existing environment-controlled board helper separately. This PR targets that branch so the review diff contains only MCP2222 additions; merge #420 first, then retarget this PR to
main.Validation: all 26 unit tests pass with the dependency, and affected pre-commit hooks pass. The earlier connected-device check confirmed the expected chip/board IDs. Local hooks use Python 3.11 and a temporary Windows lint option for existing Unix-only
os.unamecalls; repository hook configuration is unchanged.