Skip to content

Commit e1bc181

Browse files
committed
Added ORANGE_PI_PC2
1 parent a0261fb commit e1bc181

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
@@ -386,6 +386,8 @@ def _armbian_id(self) -> Optional[str]:
386386
board = boards.PINEH64
387387
elif board_value == "orangepi2":
388388
board = boards.ORANGE_PI_2
389+
elif board_value == "orangepipc2":
390+
board = boards.ORANGE_PI_PC2
389391
elif board_value == "orangepi3":
390392
board = boards.ORANGE_PI_3
391393
elif board_value == "orangepi3b":

adafruit_platformdetect/constants/boards.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
ORANGE_PI_PC_PLUS = "ORANGE_PI_PC_PLUS"
5454
ORANGE_PI_PLUS_2E = "ORANGE_PI_PLUS_2E"
5555
ORANGE_PI_2 = "ORANGE_PI_2"
56+
ORANGE_PI_PC2 = "ORANGE_PI_PC2"
5657
ORANGE_PI_ZERO_PLUS_2H5 = "ORANGE_PI_ZERO_PLUS_2H5"
5758
ORANGE_PI_ZERO_PLUS = "ORANGE_PI_ZERO_PLUS"
5859
ORANGE_PI_ZERO_2 = "ORANGE_PI_ZERO_2"
@@ -260,6 +261,7 @@
260261
ORANGE_PI_PC_PLUS,
261262
ORANGE_PI_PLUS_2E,
262263
ORANGE_PI_2,
264+
ORANGE_PI_PC2,
263265
ORANGE_PI_ZERO_PLUS_2H5,
264266
ORANGE_PI_ZERO_PLUS,
265267
ORANGE_PI_ZERO_2,

0 commit comments

Comments
 (0)