Skip to content

Commit cddd4d4

Browse files
authored
Merge pull request #19 from NVIDIA-AI-IOT-private/jetson
added jetson nano board
2 parents 2c929e6 + 1c326b1 commit cddd4d4

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

adafruit_platformdetect/board.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
JETSON_TX1 = 'JETSON_TX1'
3232
JETSON_TX2 = 'JETSON_TX2'
3333
JETSON_XAVIER = 'JETSON_XAVIER'
34-
JETSON_TXX = 'JETSON_TXX'
34+
JETSON_NANO = 'JETSON_NANO'
3535

3636
RASPBERRY_PI_B_REV1 = "RASPBERRY_PI_B_REV1"
3737
RASPBERRY_PI_B_REV2 = "RASPBERRY_PI_B_REV2"
@@ -58,7 +58,7 @@
5858
JETSON_TX1,
5959
JETSON_TX2,
6060
JETSON_XAVIER,
61-
JETSON_TXX
61+
JETSON_NANO
6262
)
6363

6464
_RASPBERRY_PI_40_PIN_IDS = (
@@ -341,8 +341,8 @@ def _tegra_id(self):
341341
return JETSON_TX2
342342
elif 'xavier' in board_value:
343343
return JETSON_XAVIER
344-
elif 'txx' in board_value:
345-
return JETSON_TXX
344+
elif 'nano' in board_value:
345+
return JETSON_NANO
346346
return None
347347

348348
@property

adafruit_platformdetect/chip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def _linux_id(self):
8383

8484
compatible = self.detector.get_device_compatible()
8585
if compatible and 'tegra' in compatible:
86-
if 'cv' in compatible or 'txx' in compatible:
86+
if 'cv' in compatible or 'nano' in compatible:
8787
linux_id = T210
8888
elif 'quill' in compatible:
8989
linux_id = T186

0 commit comments

Comments
 (0)