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

This commit is contained in:
Jens Oberender 2024-04-17 20:25:02 +02:00
parent f991454192
commit 40b6db5b11
2 changed files with 6 additions and 0 deletions

View file

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

View file

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