Skip to content

Commit 07f06c6

Browse files
authored
Merge pull request #356 from nopnop2002/main
Added ORANGE_PI_PC2
2 parents 715e573 + 56e81be commit 07f06c6

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

adafruit_platformdetect/board.py

+2
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,8 @@ def _armbian_id(self) -> Optional[str]:
396396
board = boards.PINEH64
397397
elif board_value == "orangepi2":
398398
board = boards.ORANGE_PI_2
399+
elif board_value == "orangepipc2":
400+
board = boards.ORANGE_PI_PC2
399401
elif board_value == "orangepi3":
400402
board = boards.ORANGE_PI_3
401403
elif board_value == "orangepi3b":

adafruit_platformdetect/constants/boards.py

+2
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
ORANGE_PI_PC_PLUS = "ORANGE_PI_PC_PLUS"
5656
ORANGE_PI_PLUS_2E = "ORANGE_PI_PLUS_2E"
5757
ORANGE_PI_2 = "ORANGE_PI_2"
58+
ORANGE_PI_PC2 = "ORANGE_PI_PC2"
5859
ORANGE_PI_ZERO_PLUS_2H5 = "ORANGE_PI_ZERO_PLUS_2H5"
5960
ORANGE_PI_ZERO_PLUS = "ORANGE_PI_ZERO_PLUS"
6061
ORANGE_PI_ZERO_2 = "ORANGE_PI_ZERO_2"
@@ -265,6 +266,7 @@
265266
ORANGE_PI_PC_PLUS,
266267
ORANGE_PI_PLUS_2E,
267268
ORANGE_PI_2,
269+
ORANGE_PI_PC2,
268270
ORANGE_PI_ZERO_PLUS_2H5,
269271
ORANGE_PI_ZERO_PLUS,
270272
ORANGE_PI_ZERO_2,

0 commit comments

Comments
 (0)