Browse Source

Add detection for Radxa ZERO 3 boards (3E with ethernet and 3W with Wifi).

pull/348/head
Jens Oberender 11 months ago
parent
commit
40b6db5b11
2 changed files with 6 additions and 0 deletions
  1. +4
    -0
      adafruit_platformdetect/board.py
  2. +2
    -0
      adafruit_platformdetect/constants/boards.py

+ 4
- 0
adafruit_platformdetect/board.py View File

@ -426,6 +426,8 @@ class Board:
board = boards.PCDUINO3
elif board_value == "rock-3a":
board = boards.ROCK_PI_3A
elif board_value == "radxa-zero3":
board = boards.RADXA_ZERO3
elif board_value == "repka-pi3-h5":
board = boards.REPKA_PI_3_H5
elif board_value == "repka-pi4-h6":
@ -575,6 +577,8 @@ class Board:
board = boards.LUBANCAT1
if board_value and "Radxa CM3 IO" in board_value:
board = boards.RADXA_CM3
if board_value and "Radxa ZERO 3" in board_value:
board = boards.RADXA_ZERO3
if board_value and "Radxa ROCK3 Model C" in board_value:
board = boards.ROCK_PI_3C
if board_value and "Rockchip RK3566 OPi 3B" in board_value:


+ 2
- 0
adafruit_platformdetect/constants/boards.py View File

@ -192,6 +192,7 @@ SOPINE = "SOPINE"
QUARTZ64_A = "QUARTZ64_A"
RADXA_ZERO = "RADXA_ZERO"
RADXA_ZERO3 = "RADXA_ZERO3"
RADXA_CM3 = "RADXA_CM3"
ROCK_PI_3A = "ROCK_PI_3A"
@ -526,6 +527,7 @@ _ROCK_PI_IDS = (
ROCK_PI_X,
ROCK_PI_E,
RADXA_ZERO,
RADXA_ZERO3,
ROCK_PI_5,
RADXA_CM3,
ROCK_PI_3A,


|||||||
x
 
000:0
Loading…
Cancel
Save