Skip to content

Commit a4e3061

Browse files
authored
Merge pull request #131 from twa127/master
Add Support for Orange pi Zero Plus Board
2 parents 9e5cc5e + 9bada62 commit a4e3061

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

adafruit_platformdetect/board.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,8 @@ def _armbian_id(self):
260260
board = boards.BANANA_PI_M2_ZERO
261261
if board_value == "orangepizeroplus2-h5":
262262
board = boards.ORANGE_PI_ZERO_PLUS_2H5
263+
if board_value == "orangepizeroplus":
264+
board = boards.ORANGE_PI_ZERO_PLUS
263265

264266
return board
265267

adafruit_platformdetect/constants/boards.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
ORANGE_PI_PLUS_2E = "ORANGE_PI_PLUS_2E"
4141
ORANGE_PI_2 = "ORANGE_PI_2"
4242
ORANGE_PI_ZERO_PLUS_2H5 = "ORANGE_PI_ZERO_PLUS_2H5"
43+
ORANGE_PI_ZERO_PLUS = "ORANGE_PI_ZERO_PLUS"
4344

4445
# Banana Pi boards
4546
BANANA_PI_M2_ZERO = "BANANA_PI_M2_ZERO"
@@ -141,6 +142,7 @@
141142
ORANGE_PI_PLUS_2E,
142143
ORANGE_PI_2,
143144
ORANGE_PI_ZERO_PLUS_2H5,
145+
ORANGE_PI_ZERO_PLUS,
144146
)
145147

146148
# BananaPI

0 commit comments

Comments
 (0)