We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aacfd20 commit bc6d700Copy full SHA for bc6d700
adafruit_platformdetect/board.py
@@ -27,6 +27,7 @@
27
NODEMCU = "NODEMCU"
28
ORANGE_PI_PC = "ORANGE_PI_PC"
29
ORANGE_PI_R1 = "ORANGE_PI_R1"
30
+ORANGE_PI_ZERO = "ORANGE_PI_ZERO"
31
GIANT_BOARD = "GIANT_BOARD"
32
33
# NVIDIA Jetson boards
@@ -70,7 +71,8 @@
70
71
#OrangePI
72
_ORANGE_PI_IDS = (
73
ORANGE_PI_PC,
- ORANGE_PI_R1
74
+ ORANGE_PI_R1,
75
+ ORANGE_PI_ZERO
76
)
77
78
_CORAL_IDS = (
@@ -383,6 +385,8 @@ def _armbian_id(self):
383
385
return ORANGE_PI_PC
384
386
if board_value == "orangepi-r1":
387
return ORANGE_PI_R1
388
+ if board_value == "orangepizero":
389
+ return ORANGE_PI_ZERO
390
return None
391
392
def _sama5_id(self):
0 commit comments