-
Notifications
You must be signed in to change notification settings - Fork 319
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 support for "fake" MCP2221 #807
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are a bunch of code blocks where it leaves the slimmest possibility of it not functioning as intended. Other than that, it looks good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great. Thank you.
This pull request adds Blinka support for a "fake" MCP2221 device. This means that no device is attached and the environment will mock the CircuitPython hardware API layer.
To test, set the following environment variables in either your shell or a CPython script:
Implemented and tested on CPython: