diff --git a/adafruit_platformdetect/board.py b/adafruit_platformdetect/board.py index 1bf42a07..75629b58 100644 --- a/adafruit_platformdetect/board.py +++ b/adafruit_platformdetect/board.py @@ -396,6 +396,8 @@ def _armbian_id(self) -> Optional[str]: board = boards.PINEH64 elif board_value == "orangepi2": board = boards.ORANGE_PI_2 + elif board_value == "orangepipc2": + board = boards.ORANGE_PI_PC2 elif board_value == "orangepi3": board = boards.ORANGE_PI_3 elif board_value == "orangepi3b": diff --git a/adafruit_platformdetect/constants/boards.py b/adafruit_platformdetect/constants/boards.py index a025769d..940b9600 100644 --- a/adafruit_platformdetect/constants/boards.py +++ b/adafruit_platformdetect/constants/boards.py @@ -55,6 +55,7 @@ ORANGE_PI_PC_PLUS = "ORANGE_PI_PC_PLUS" ORANGE_PI_PLUS_2E = "ORANGE_PI_PLUS_2E" ORANGE_PI_2 = "ORANGE_PI_2" +ORANGE_PI_PC2 = "ORANGE_PI_PC2" ORANGE_PI_ZERO_PLUS_2H5 = "ORANGE_PI_ZERO_PLUS_2H5" ORANGE_PI_ZERO_PLUS = "ORANGE_PI_ZERO_PLUS" ORANGE_PI_ZERO_2 = "ORANGE_PI_ZERO_2" @@ -265,6 +266,7 @@ ORANGE_PI_PC_PLUS, ORANGE_PI_PLUS_2E, ORANGE_PI_2, + ORANGE_PI_PC2, ORANGE_PI_ZERO_PLUS_2H5, ORANGE_PI_ZERO_PLUS, ORANGE_PI_ZERO_2,