Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions adafruit_platformdetect/board.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,8 @@ def _armbian_id(self):
board = boards.ORANGE_PI_PC_PLUS
if board_value == "pinebook-a64":
board = boards.PINEBOOK
if board_value == "orangepi2":
board = boards.ORANGE_PI_2

return board

Expand Down
2 changes: 2 additions & 0 deletions adafruit_platformdetect/constants/boards.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
ORANGE_PI_LITE = "ORANGE_PI_LITE"
ORANGE_PI_PC_PLUS = "ORANGE_PI_PC_PLUS"
ORANGE_PI_PLUS_2E = "ORANGE_PI_PLUS_2E"
ORANGE_PI_2 = "ORANGE_PI_2"

# NVIDIA Jetson boards
JETSON_TX1 = "JETSON_TX1"
Expand Down Expand Up @@ -102,6 +103,7 @@
ORANGE_PI_LITE,
ORANGE_PI_PC_PLUS,
ORANGE_PI_PLUS_2E,
ORANGE_PI_2,
)

_CORAL_IDS = (CORAL_EDGE_TPU_DEV,)
Expand Down