Skip to content

Commit c5e0798

Browse files
authored
Merge pull request #54 from yeyeto2788/orangepi
Addition of Orange Pi Plus 2E
2 parents 73551a1 + 00d3aa9 commit c5e0798

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

adafruit_platformdetect/board.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
ORANGE_PI_ONE = "ORANGE_PI_ONE"
3737
ORANGE_PI_LITE = "ORANGE_PI_LITE"
3838
ORANGE_PI_PC_PLUS = "ORANGE_PI_PC_PLUS"
39+
ORANGE_PI_PLUS_2E = "ORANGE_PI_PLUS_2E"
3940

4041
# NVIDIA Jetson boards
4142
JETSON_TX1 = 'JETSON_TX1'
@@ -93,7 +94,8 @@
9394
ORANGE_PI_ZERO,
9495
ORANGE_PI_ONE,
9596
ORANGE_PI_LITE,
96-
ORANGE_PI_LITE
97+
ORANGE_PI_PC_PLUS,
98+
ORANGE_PI_PLUS_2E,
9799
)
98100

99101
_CORAL_IDS = (
@@ -462,6 +464,8 @@ def _armbian_id(self):
462464
return ORANGE_PI_ONE
463465
if board_value == "orangepilite":
464466
return ORANGE_PI_LITE
467+
if board_value == "orangepiplus2e":
468+
return ORANGE_PI_PLUS_2E
465469
if board_value == "orangepipcplus":
466470
return ORANGE_PI_PC_PLUS
467471
if board_value == "pinebook-a64":

0 commit comments

Comments
 (0)