Repository navigation
Add opt-in MCP2222 USB bridge detection - #421
Merged
Merged
Conversation
Leave the existing os_environ_board behavior for the separate bug-fix PR. 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 MCP2222 chip/board IDs for the companion Blinka backend (#1155 in Adafruit_Blinka). Install Microchip'spymcp2222package for the optional USB dependency.This PR targets
mainindependently of #420. It deliberately retains the existing brokenos_environ_boardhelper and ItsyBitsy typo; those corrections remain for separate review in #420. MCP2222 detection and its dedicated board property work, but the shared environment-board-family helper remains broken until that fix lands.Replaces #419, which was merged into the bug-fix branch rather than
main.Validation: all 24 tests and affected pre-commit hooks pass. Tests cover MCP2222 USB enumeration, board IDs, caching, and missing-device errors; the known-broken shared helper is not asserted to work. The earlier connected-device detection check is unchanged. Local hooks use Python 3.11 and a temporary Windows lint option for existing Unix-only
os.unamecalls.