Skip to content

Commit 1344fe0

Browse files
authored
Merge pull request #386 from mlodedrwale/main
Added support for Orange Pi Zero 3
2 parents 46f0930 + 630b050 commit 1344fe0

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

adafruit_platformdetect/board.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,8 @@ def _armbian_id(self) -> Optional[str]:
428428
board = boards.ORANGE_PI_2
429429
elif board_value == "orangepipc2":
430430
board = boards.ORANGE_PI_PC2
431+
elif board_value == "orangepizero3":
432+
board = boards.ORANGE_PI_ZERO_3
431433
elif board_value == "orangepi3b":
432434
board = boards.ORANGE_PI_3B
433435
elif board_value == "orangepi3":

adafruit_platformdetect/constants/boards.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
ORANGE_PI_ZERO_PLUS_2H5 = "ORANGE_PI_ZERO_PLUS_2H5"
6161
ORANGE_PI_ZERO_PLUS = "ORANGE_PI_ZERO_PLUS"
6262
ORANGE_PI_ZERO_2 = "ORANGE_PI_ZERO_2"
63+
ORANGE_PI_ZERO_3 = "ORANGE_PI_ZERO_3"
6364
ORANGE_PI_3 = "ORANGE_PI_3"
6465
ORANGE_PI_3B = "ORANGE_PI_3B"
6566
ORANGE_PI_3_LTS = "ORANGE_PI_3_LTS"

0 commit comments

Comments
 (0)