diff --git a/adafruit_platformdetect/board.py b/adafruit_platformdetect/board.py index 8d4cc40..a391abe 100644 --- a/adafruit_platformdetect/board.py +++ b/adafruit_platformdetect/board.py @@ -535,6 +535,8 @@ 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 "OPi 5 Ultra" in board_value: + return boards.ORANGE_PI_5_ULTRA if "OPi 5 Pro" in board_value: return boards.ORANGE_PI_5_PRO if "Orange Pi 5 Max" in board_value: diff --git a/adafruit_platformdetect/constants/boards.py b/adafruit_platformdetect/constants/boards.py index dcaab5d..03ce0a5 100644 --- a/adafruit_platformdetect/constants/boards.py +++ b/adafruit_platformdetect/constants/boards.py @@ -69,6 +69,7 @@ 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_ULTRA = "ORANGE_PI_5_ULTRA" ORANGE_PI_5_PLUS = "ORANGE_PI_5_PLUS" ORANGE_PI_5_PRO = "ORANGE_PI_5_PRO"