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.
2 parents daaf657 + 36e0c4f commit c7f4b0aCopy full SHA for c7f4b0a
adafruit_platformdetect/board.py
@@ -500,6 +500,10 @@ def _ameridroid_id(self) -> Optional[str]:
500
501
def _orange_pi_id(self) -> Optional[str]:
502
board_value = self.detector.get_device_model()
503
+ if "OPi 5 Max" in board_value:
504
+ return boards.ORANGE_PI_5_MAX
505
+ if "Orange Pi 5 Max" in board_value:
506
507
if "Orange Pi 5 Plus" in board_value:
508
return boards.ORANGE_PI_5_PLUS
509
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