]> Repositories - hackapet/Adafruit_Blinka.git/blobdiff - src/board.py
Add better error message and explicity add to setup
[hackapet/Adafruit_Blinka.git] / src / board.py
index 74aeb5cc7b1a67edce3a9c364792ce67aaca8894..0c68fe334637060ea2543c146fb04362f3ccde27 100644 (file)
@@ -142,6 +142,9 @@ elif board_id == ap_board.BANANA_PI_M2_PLUS:
 elif board_id == ap_board.BANANA_PI_M5:
     from adafruit_blinka.board.bananapi.bpim5 import *
 
+elif board_id == ap_board.LEMAKER_BANANA_PRO:
+    from adafruit_blinka.board.lemaker.bananapro import *
+
 elif board_id == ap_board.GIANT_BOARD:
     from adafruit_blinka.board.giantboard import *
 
@@ -355,8 +358,12 @@ elif board_id is None:
         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:
+        have the latest packages by running:
         'pip3 install --upgrade adafruit-blinka adafruit-platformdetect'
+
+        If you are running the latest package, your board may not yet be supported. Please
+        open a New Issue on GitHub at https://github.com/adafruit/Adafruit_Blinka/issues and
+        select New Board Request.
         """
     )