-
Notifications
You must be signed in to change notification settings - Fork 246
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
Include Waveshare RP2040 One (3 of 3) #366
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.
Thanks for adding. Just a few minor changes requested.
adafruit_platformdetect/board.py
Outdated
@@ -30,7 +30,7 @@ | |||
|
|||
from adafruit_platformdetect.constants import boards, chips | |||
|
|||
__version__ = "0.0.0+auto.0" | |||
__version__ = "3.72.1" |
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.
Please change this back to 0.0.0+auto.0. The versioning is automatically changed this way.
adafruit_platformdetect/chip.py
Outdated
@@ -29,7 +29,7 @@ | |||
|
|||
from adafruit_platformdetect.constants import chips | |||
|
|||
__version__ = "0.0.0+auto.0" | |||
__version__ = "3.72.1" |
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.
Please change this back to 0.0.0+auto.0 as well.
0x812E, | ||
0x8130, | ||
0x0105, | ||
( |
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.
Can we remove the extra set of parenthesis?
makes suggested changes
makes suggested changes: version as '0.0.0+auto.0' and removes superfluous parenthesis
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.
Suggestions have been adopted. The parenthesis was my oversight, but I'm not sure where the 'version' got changed. Pre-commit, perhaps? Anyhow, thank you for your help!
Checks are stumbling over Black formatting, which insists on the extra level of parentheses wrapping the (now) three groups of vendor/product ids |
Fair enough. We can leave it then. |
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 good. thank you!
Part of a trio of PRs to see support for the RP2040 One extended; I think it could be useful as an inexpensive entry to testing out sensors or debugging in light of articles such as:
https://learn.adafruit.com/circuitpython-libraries-on-any-computer-with-raspberry-pi-pico
Companion pull requests:
adafruit/u2if#11