We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9518b0 commit 36e0c4fCopy full SHA for 36e0c4f
adafruit_platformdetect/board.py
@@ -494,6 +494,10 @@ def _ameridroid_id(self) -> Optional[str]:
494
495
def _orange_pi_id(self) -> Optional[str]:
496
board_value = self.detector.get_device_model()
497
+ if "OPi 5 Max" in board_value:
498
+ return boards.ORANGE_PI_5_MAX
499
+ if "Orange Pi 5 Max" in board_value:
500
501
if "Orange Pi 5 Plus" in board_value:
502
return boards.ORANGE_PI_5_PLUS
503
if "Orange Pi 5" in board_value:
adafruit_platformdetect/constants/boards.py
@@ -66,6 +66,7 @@
66
ORANGE_PI_4 = "ORANGE_PI_4"
67
ORANGE_PI_4_LTS = "ORANGE_PI_4_LTS"
68
ORANGE_PI_5 = "ORANGE_PI_5"
69
+ORANGE_PI_5_MAX = "ORANGE_PI_5_MAX"
70
ORANGE_PI_5_PLUS = "ORANGE_PI_5_PLUS"
71
72
# Nano Pi boards
0 commit comments