Thanks to visit codestin.com Credit goes to github.com
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 2e84c14 commit 7436551Copy full SHA for 7436551
Adafruit_GPIO/Platform.py
@@ -26,6 +26,7 @@
26
RASPBERRY_PI = 1
27
BEAGLEBONE_BLACK = 2
28
MINNOWBOARD = 3
29
+JETSON_NANO = 4
30
31
def platform_detect():
32
"""Detect if running on the Raspberry Pi or Beaglebone Black and return the
@@ -45,6 +46,8 @@ def platform_detect():
45
46
return BEAGLEBONE_BLACK
47
elif plat.lower().find('armv7l-with-glibc2.4') > -1:
48
49
+ elif plat.lower().find('tegra-aarch64-with-ubuntu') > -1:
50
+ return JETSON_NANO
51
52
# Handle Minnowboard
53
# Assumption is that mraa is installed
0 commit comments