commit
96871229e6
2 changed files with 7 additions and 0 deletions
|
|
@ -398,6 +398,8 @@ class Board:
|
|||
board = boards.NANOPI_DUO2
|
||||
elif board_value == "nanopineo":
|
||||
board = boards.NANOPI_NEO
|
||||
elif board_value == "nanopineo2":
|
||||
board = boards.NANOPI_NEO_2
|
||||
elif board_value == "nezha":
|
||||
board = boards.LICHEE_RV
|
||||
elif board_value == "pcduino2":
|
||||
|
|
@ -663,6 +665,8 @@ class Board:
|
|||
if "nanopi" in board_value:
|
||||
if "neo" in board_value and "SUN8I" in chip_id:
|
||||
board = boards.NANOPI_NEO_AIR
|
||||
elif "neo2" in board_value and "H5" in chip_id:
|
||||
board = boards.NANOPI_NEO_2
|
||||
elif any(x in board_value for x in ("orange pi", "orangepi")):
|
||||
if "zero" in board_value:
|
||||
if "H5" in chip_id:
|
||||
|
|
|
|||
|
|
@ -63,6 +63,8 @@ ORANGE_PI_5 = "ORANGE_PI_5"
|
|||
NANOPI_NEO_AIR = "NANOPI_NEO_AIR"
|
||||
NANOPI_DUO2 = "NANOPI_DUO2"
|
||||
NANOPI_NEO = "NANOPI_NEO"
|
||||
NANOPI_NEO_2 = "NANOPI_NEO_2"
|
||||
|
||||
|
||||
# Banana Pi boards
|
||||
BANANA_PI_M2_ZERO = "BANANA_PI_M2_ZERO"
|
||||
|
|
@ -250,6 +252,7 @@ _NANOPI_IDS = (
|
|||
NANOPI_NEO_AIR,
|
||||
NANOPI_DUO2,
|
||||
NANOPI_NEO,
|
||||
NANOPI_NEO_2,
|
||||
)
|
||||
|
||||
# BananaPI
|
||||
|
|
|
|||
Loading…
Reference in a new issue