Skip to content

Commit de897ac

Browse files
authored
Merge branch 'adafruit:main' into main
2 parents 767967e + 717172a commit de897ac

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

adafruit_platformdetect/board.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,8 @@ def _armbian_id(self) -> Optional[str]:
428428
board = boards.PCDUINO3
429429
elif board_value == "rock-3a":
430430
board = boards.ROCK_PI_3A
431+
elif board_value == "radxa-zero3":
432+
board = boards.RADXA_ZERO3
431433
elif board_value == "repka-pi3-h5":
432434
board = boards.REPKA_PI_3_H5
433435
elif board_value == "repka-pi4-h6":
@@ -577,6 +579,8 @@ def _rk3566_id(self) -> Optional[str]:
577579
board = boards.LUBANCAT1
578580
if board_value and "Radxa CM3 IO" in board_value:
579581
board = boards.RADXA_CM3
582+
if board_value and "Radxa ZERO 3" in board_value:
583+
board = boards.RADXA_ZERO3
580584
if board_value and "Radxa ROCK3 Model C" in board_value:
581585
board = boards.ROCK_PI_3C
582586
if board_value and "Rockchip RK3566 OPi 3B" in board_value:

adafruit_platformdetect/constants/boards.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@
192192
QUARTZ64_A = "QUARTZ64_A"
193193

194194
RADXA_ZERO = "RADXA_ZERO"
195+
RADXA_ZERO3 = "RADXA_ZERO3"
195196
RADXA_CM3 = "RADXA_CM3"
196197

197198
ROCK_PI_3A = "ROCK_PI_3A"
@@ -529,6 +530,7 @@
529530
ROCK_PI_X,
530531
ROCK_PI_E,
531532
RADXA_ZERO,
533+
RADXA_ZERO3,
532534
ROCK_PI_5,
533535
RADXA_CM3,
534536
ROCK_PI_3A,

0 commit comments

Comments
 (0)