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.
2 parents 9ff0213 + 48387d0 commit 3893450Copy full SHA for 3893450
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"
@@ -102,6 +103,7 @@
102
103
ORANGE_PI_LITE,
104
ORANGE_PI_PC_PLUS,
105
ORANGE_PI_PLUS_2E,
106
+ ORANGE_PI_2,
107
)
108
109
_CORAL_IDS = (CORAL_EDGE_TPU_DEV,)
0 commit comments