File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 30
30
31
31
from adafruit_platformdetect .constants import boards , chips
32
32
33
- __version__ = "0.0.0+auto.0 "
33
+ __version__ = "3.72.1 "
34
34
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PlatformDetect.git"
35
35
36
36
@@ -832,6 +832,8 @@ def _rp2040_u2if_id(self) -> Optional[str]:
832
832
# KB2040 Kee Board
833
833
if product == 0x0105 :
834
834
return boards .KB2040_U2IF
835
+ if vendor == 0x2E8A and product == 0x111F :
836
+ return boards .WAVESHARE_RP2040_ONE_U2IF
835
837
# Will only reach here if a device was added in chip.py but here.
836
838
raise RuntimeError ("RP2040_U2IF device was added to chip but not board." )
837
839
Original file line number Diff line number Diff line change 29
29
30
30
from adafruit_platformdetect .constants import chips
31
31
32
- __version__ = "0.0.0+auto.0 "
32
+ __version__ = "3.72.1 "
33
33
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PlatformDetect.git"
34
34
35
35
@@ -113,6 +113,10 @@ def id(
113
113
# Raspberry Pi Pico
114
114
vendor == 0xCAFE
115
115
and product == 0x4005
116
+ ) or (
117
+ # Waveshare RP2040 One
118
+ vendor == 0x2E8A
119
+ and product == 0x111F
116
120
) or (
117
121
# Feather RP2040
118
122
# Itsy Bitsy RP2040
You can’t perform that action at this time.
0 commit comments