added support for orange pi 5 max
This commit is contained in:
parent
c9518b0a55
commit
36e0c4f1b7
2 changed files with 5 additions and 0 deletions
|
|
@ -494,6 +494,10 @@ class Board:
|
||||||
|
|
||||||
def _orange_pi_id(self) -> Optional[str]:
|
def _orange_pi_id(self) -> Optional[str]:
|
||||||
board_value = self.detector.get_device_model()
|
board_value = self.detector.get_device_model()
|
||||||
|
if "OPi 5 Max" in board_value:
|
||||||
|
return boards.ORANGE_PI_5_MAX
|
||||||
|
if "Orange Pi 5 Max" in board_value:
|
||||||
|
return boards.ORANGE_PI_5_MAX
|
||||||
if "Orange Pi 5 Plus" in board_value:
|
if "Orange Pi 5 Plus" in board_value:
|
||||||
return boards.ORANGE_PI_5_PLUS
|
return boards.ORANGE_PI_5_PLUS
|
||||||
if "Orange Pi 5" in board_value:
|
if "Orange Pi 5" in board_value:
|
||||||
|
|
|
||||||
|
|
@ -66,6 +66,7 @@ ORANGE_PI_3_LTS = "ORANGE_PI_3_LTS"
|
||||||
ORANGE_PI_4 = "ORANGE_PI_4"
|
ORANGE_PI_4 = "ORANGE_PI_4"
|
||||||
ORANGE_PI_4_LTS = "ORANGE_PI_4_LTS"
|
ORANGE_PI_4_LTS = "ORANGE_PI_4_LTS"
|
||||||
ORANGE_PI_5 = "ORANGE_PI_5"
|
ORANGE_PI_5 = "ORANGE_PI_5"
|
||||||
|
ORANGE_PI_5_MAX = "ORANGE_PI_5_MAX"
|
||||||
ORANGE_PI_5_PLUS = "ORANGE_PI_5_PLUS"
|
ORANGE_PI_5_PLUS = "ORANGE_PI_5_PLUS"
|
||||||
|
|
||||||
# Nano Pi boards
|
# Nano Pi boards
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue