We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ff0213 commit 7e402d0Copy full SHA for 7e402d0
adafruit_platformdetect/board.py
@@ -224,6 +224,8 @@ def _armbian_id(self):
224
board = boards.ORANGE_PI_PC_PLUS
225
if board_value == "pinebook-a64":
226
board = boards.PINEBOOK
227
+ if board_value == "orangepi2":
228
+ board = boards.ORANGE_PI_2
229
230
return board
231
adafruit_platformdetect/constants/boards.py
@@ -35,6 +35,7 @@
35
ORANGE_PI_LITE = "ORANGE_PI_LITE"
36
ORANGE_PI_PC_PLUS = "ORANGE_PI_PC_PLUS"
37
ORANGE_PI_PLUS_2E = "ORANGE_PI_PLUS_2E"
38
+ORANGE_PI_2 = "ORANGE_PI_2"
39
40
# NVIDIA Jetson boards
41
JETSON_TX1 = "JETSON_TX1"
0 commit comments