diff --git a/adafruit_platformdetect/board.py b/adafruit_platformdetect/board.py index 6e9828ff..f80f5232 100644 --- a/adafruit_platformdetect/board.py +++ b/adafruit_platformdetect/board.py @@ -27,6 +27,7 @@ NODEMCU = "NODEMCU" ORANGE_PI_PC = "ORANGE_PI_PC" ORANGE_PI_R1 = "ORANGE_PI_R1" +ORANGE_PI_ZERO = "ORANGE_PI_ZERO" GIANT_BOARD = "GIANT_BOARD" # NVIDIA Jetson boards @@ -70,7 +71,8 @@ #OrangePI _ORANGE_PI_IDS = ( ORANGE_PI_PC, - ORANGE_PI_R1 + ORANGE_PI_R1, + ORANGE_PI_ZERO ) _CORAL_IDS = ( @@ -383,6 +385,8 @@ def _armbian_id(self): return ORANGE_PI_PC if board_value == "orangepi-r1": return ORANGE_PI_R1 + if board_value == "orangepizero": + return ORANGE_PI_ZERO return None def _sama5_id(self):