Skip to content
Merged
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
6 changes: 5 additions & 1 deletion adafruit_platformdetect/board.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
NODEMCU = "NODEMCU"
ORANGE_PI_PC = "ORANGE_PI_PC"
ORANGE_PI_R1 = "ORANGE_PI_R1"
ORANGE_PI_ZERO = "ORANGE_PI_ZERO"
GIANT_BOARD = "GIANT_BOARD"

# NVIDIA Jetson boards
Expand Down Expand Up @@ -70,7 +71,8 @@
#OrangePI
_ORANGE_PI_IDS = (
ORANGE_PI_PC,
ORANGE_PI_R1
ORANGE_PI_R1,
ORANGE_PI_ZERO
)

_CORAL_IDS = (
Expand Down Expand Up @@ -383,6 +385,8 @@ def _armbian_id(self):
return ORANGE_PI_PC
if board_value == "orangepi-r1":
return ORANGE_PI_R1
if board_value == "orangepizero":
return ORANGE_PI_ZERO
return None

def _sama5_id(self):
Expand Down