]> Repositories - hackapet/Adafruit_Blinka.git/blobdiff - src/board.py
Merge branch 'adafruit:main' into main
[hackapet/Adafruit_Blinka.git] / src / board.py
index 1842c6490d7aeda90c01568ecece6996880ea22b..c1785ff363f6174515ab61e880a9e85aa8272113 100644 (file)
@@ -61,6 +61,9 @@ elif board_id == ap_board.BEAGLEBONE:
 elif board_id == ap_board.BEAGLEBONE_BLACK:
     from adafruit_blinka.board.beagleboard.beaglebone_black import *
 
+elif board_id == ap_board.BEAGLEBONE_BLUE:
+    from adafruit_blinka.board.beagleboard.beaglebone_blue import *
+
 elif board_id == ap_board.BEAGLEBONE_GREEN:
     from adafruit_blinka.board.beagleboard.beaglebone_black import *
 
@@ -163,6 +166,9 @@ elif board_id == ap_board.JETSON_NX:
 elif board_id == ap_board.JETSON_AGX_ORIN:
     from adafruit_blinka.board.nvidia.jetson_orin import *
 
+elif board_id in (ap_board.JETSON_ORIN_NX, ap_board.JETSON_ORIN_NANO):
+    from adafruit_blinka.board.nvidia.jetson_orin_nx import *
+
 elif board_id == ap_board.CLARA_AGX_XAVIER:
     from adafruit_blinka.board.nvidia.clara_agx_xavier import *
 
@@ -338,9 +344,9 @@ elif board_id is None:
     package = str(pkg_resources.get_distribution("adafruit_platformdetect")).split()
     raise NotImplementedError(
         f"""
-        {package[0]} version {package[1]} was unable to identify the board and/or 
-        microcontroller running the {platform.system()} platform. Please be sure you 
-        have the latest packages running: 
+        {package[0]} version {package[1]} was unable to identify the board and/or
+        microcontroller running the {platform.system()} platform. Please be sure you
+        have the latest packages running:
         'pip3 install --upgrade adafruit-blinka adafruit-platformdetect'
         """
     )