Skip to content

Commit c493701

Browse files
authored
Add files via upload
1 parent fa12191 commit c493701

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

adafruit_platformdetect/board.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
from adafruit_platformdetect.constants import boards, chips
3232

33-
__version__ = "0.0.0+auto.0"
33+
__version__ = "3.72.1"
3434
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PlatformDetect.git"
3535

3636

@@ -832,6 +832,8 @@ def _rp2040_u2if_id(self) -> Optional[str]:
832832
# KB2040 Kee Board
833833
if product == 0x0105:
834834
return boards.KB2040_U2IF
835+
if vendor == 0x2E8A and product == 0x111F:
836+
return boards.WAVESHARE_RP2040_ONE_U2IF
835837
# Will only reach here if a device was added in chip.py but here.
836838
raise RuntimeError("RP2040_U2IF device was added to chip but not board.")
837839

adafruit_platformdetect/chip.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
from adafruit_platformdetect.constants import chips
3131

32-
__version__ = "0.0.0+auto.0"
32+
__version__ = "3.72.1"
3333
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PlatformDetect.git"
3434

3535

@@ -113,6 +113,10 @@ def id(
113113
# Raspberry Pi Pico
114114
vendor == 0xCAFE
115115
and product == 0x4005
116+
) or (
117+
# Waveshare RP2040 One
118+
vendor == 0x2E8A
119+
and product == 0x111F
116120
) or (
117121
# Feather RP2040
118122
# Itsy Bitsy RP2040

0 commit comments

Comments
 (0)