Skip to content

Commit 8508126

Browse files
committed
Allow model name of 'Jetson-AGX'
For some reason, my software build has a device tree model value of Jetson-AGX rather than Jetson-Xavier. Enhance the board detection code to cater for this.
1 parent ae239bd commit 8508126

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_platformdetect/board.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ def _tegra_id(self):
407407
board = JETSON_TX1
408408
elif 'quill' in board_value or "storm" in board_value or "lightning" in board_value:
409409
board = JETSON_TX2
410-
elif 'xavier' in board_value.lower():
410+
elif 'xavier' in board_value.lower() or 'agx' in board_value.lower():
411411
board = JETSON_XAVIER
412412
elif 'nano' in board_value.lower():
413413
board = JETSON_NANO

0 commit comments

Comments
 (0)