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 @@ -246,6 +246,8 @@ def _armbian_id(self):
board = boards.PINEBOOK
if board_value == "orangepi2":
board = boards.ORANGE_PI_2
if board_value == "bananapim2zero":
board = boards.BANANA_PI_M2_ZERO

return board

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

# Banana Pi boards
BANANA_PI_M2_ZERO = "BANANA_PI_M2_ZERO"

# NVIDIA Jetson boards
JETSON_TX1 = "JETSON_TX1"
JETSON_TX2 = "JETSON_TX2"
Expand Down Expand Up @@ -125,6 +128,9 @@
ORANGE_PI_2,
)

# BananaPI
_BANANA_PI_IDS = (BANANA_PI_M2_ZERO,)

_CORAL_IDS = (CORAL_EDGE_TPU_DEV,)

_PYNQ_IDS = (PYNQ_Z1, PYNQ_Z2)
Expand Down