Add Rock PI 3B
This commit is contained in:
parent
c9518b0a55
commit
5ae9bf9598
2 changed files with 8 additions and 0 deletions
|
|
@ -468,6 +468,8 @@ class Board:
|
|||
board = boards.PCDUINO3
|
||||
elif board_value == "rock-3a":
|
||||
board = boards.ROCK_PI_3A
|
||||
elif board_value == "rock-3b":
|
||||
board = boards.ROCK_PI_3B
|
||||
elif board_value == "radxa-zero3":
|
||||
board = boards.RADXA_ZERO3
|
||||
elif board_value == "repka-pi3-h5":
|
||||
|
|
@ -645,6 +647,8 @@ class Board:
|
|||
board = boards.LUBANCAT2
|
||||
if board_value and "ROCK3 Model A" in board_value:
|
||||
board = boards.ROCK_PI_3A
|
||||
if board_value and "ROCK 3 Model B" in board_value:
|
||||
board = boards.ROCK_PI_3B
|
||||
if board_value and "Hardkernel ODROID-M1" in board_value:
|
||||
board = boards.ODROID_M1
|
||||
return board
|
||||
|
|
@ -681,6 +685,8 @@ class Board:
|
|||
board = boards.ROCK_PI_4_SE
|
||||
if board_value and "ROCK3 Model A" in board_value:
|
||||
board = boards.ROCK_PI_3A
|
||||
if board_value and "ROCK 3 Model B" in board_value:
|
||||
board = boards.ROCK_PI_3B
|
||||
return board
|
||||
|
||||
def _libre_id(self) -> Optional[str]:
|
||||
|
|
|
|||
|
|
@ -208,6 +208,7 @@ RADXA_ZERO3 = "RADXA_ZERO3"
|
|||
RADXA_CM3 = "RADXA_CM3"
|
||||
|
||||
ROCK_PI_3A = "ROCK_PI_3A"
|
||||
ROCK_PI_3B = "ROCK_PI_3B"
|
||||
ROCK_PI_3C = "ROCK_PI_3C"
|
||||
ROCK_PI_S = "ROCK_PI_S"
|
||||
ROCK_PI_4 = "ROCK_PI_4"
|
||||
|
|
@ -601,6 +602,7 @@ _ROCK_PI_IDS = (
|
|||
ROCK_PI_5C,
|
||||
RADXA_CM3,
|
||||
ROCK_PI_3A,
|
||||
ROCK_PI_3B,
|
||||
ROCK_PI_3C,
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue