]> Repositories - hackapet/Adafruit_Blinka.git/blobdiff - src/board.py
This should get the Pi 1 Model A working
[hackapet/Adafruit_Blinka.git] / src / board.py
index 5065b2f1f0bb4923eb39f701e3ff22334c18cb63..9b60001024a070c5b118b7458066dcede23d9218 100755 (executable)
@@ -49,7 +49,7 @@ elif detector.board.any_raspberry_pi_40_pin:
 elif detector.board.any_raspberry_pi_cm:
     from adafruit_blinka.board.raspi_cm import *
 
-elif detector.board.RASPBERRY_PI_B_REV1:
+elif detector.board.RASPBERRY_PI_A or detector.board.RASPBERRY_PI_B_REV1:
     from adafruit_blinka.board.raspi_1b_rev1 import *
 
 elif detector.board.RASPBERRY_PI_B_REV2:
@@ -67,6 +67,9 @@ elif board_id == ap_board.ORANGE_PI_PC:
 elif board_id == ap_board.ORANGE_PI_R1:
     from adafruit_blinka.board.orangepir1 import *
 
+elif board_id == ap_board.ORANGE_PI_ZERO:
+    from adafruit_blinka.board.orangepizero import *
+
 elif board_id == ap_board.GIANT_BOARD:
     from adafruit_blinka.board.giantboard import *