X-Git-Url: https://git.ayoreis.com/hackapet/Adafruit_Blinka.git/blobdiff_plain/2fd866e9f2fc6874b86409c1d81af0562c7300ea..cb1be808d67b0be5e3c879f38259d9d6184ce709:/src/board.py diff --git a/src/board.py b/src/board.py index c04918e..9b60001 100755 --- a/src/board.py +++ b/src/board.py @@ -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 * @@ -90,7 +93,7 @@ elif board_id == ap_board.ODROID_C2: elif board_id == ap_board.ODROID_N2: from adafruit_blinka.board.odroidn2 import * -# error above + elif board_id == ap_board.DRAGONBOARD_410C: from adafruit_blinka.board.dragonboard_410c import *