X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/blobdiff_plain/b91d3fc70bd1599ea50517a390d18a3fc455fc85..21e2f930ada6afd0a031ffe93393f3a4820346d0:/src/board.py diff --git a/src/board.py b/src/board.py index c0d141e..3aa60bd 100644 --- a/src/board.py +++ b/src/board.py @@ -41,13 +41,10 @@ elif board_id == ap_board.PYBOARD: elif board_id == ap_board.RASPBERRY_PI_PICO: from adafruit_blinka.board.raspberrypi.pico import * -elif ( - detector.board.RASPBERRY_PI_4B - or detector.board.RASPBERRY_PI_CM4 - or detector.board.RASPBERRY_PI_CM4S - or detector.board.RASPBERRY_PI_400 - or detector.board.RASPBERRY_PI_5 -): +elif detector.board.any_raspberry_pi_5_board: + from adafruit_blinka.board.raspberrypi.raspi_5 import * + +elif detector.board.any_raspberry_pi_4_board: from adafruit_blinka.board.raspberrypi.raspi_4b import * elif detector.board.any_raspberry_pi_40_pin: @@ -134,6 +131,9 @@ elif board_id == ap_board.ORANGE_PI_ZERO_2: elif board_id == ap_board.ORANGE_PI_3: from adafruit_blinka.board.orangepi.orangepi3 import * +elif board_id == ap_board.ORANGE_PI_3_LTS: + from adafruit_blinka.board.orangepi.orangepi3lts import * + elif board_id == ap_board.ORANGE_PI_3B: from adafruit_blinka.board.orangepi.orangepi3b import *