added support for orange pi 5 max

This commit is contained in:
Erik 2025-02-22 16:54:31 -05:00
parent c9518b0a55
commit 36e0c4f1b7
2 changed files with 5 additions and 0 deletions

View file

@ -494,6 +494,10 @@ class Board:
def _orange_pi_id(self) -> Optional[str]:
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:
return boards.ORANGE_PI_5_PLUS
if "Orange Pi 5" in board_value:

View file

@ -66,6 +66,7 @@ ORANGE_PI_3_LTS = "ORANGE_PI_3_LTS"
ORANGE_PI_4 = "ORANGE_PI_4"
ORANGE_PI_4_LTS = "ORANGE_PI_4_LTS"
ORANGE_PI_5 = "ORANGE_PI_5"
ORANGE_PI_5_MAX = "ORANGE_PI_5_MAX"
ORANGE_PI_5_PLUS = "ORANGE_PI_5_PLUS"
# Nano Pi boards