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_4_board or detector.board.any_raspberry_pi_5_board:
from adafruit_blinka.board.raspberrypi.raspi_4b import *
elif detector.board.any_raspberry_pi_40_pin:
elif board_id == ap_board.ORANGE_PI_4_LTS:
from adafruit_blinka.board.orangepi.orangepi4 import *
-elif board_id == ap_board.ORANGE_PI_5:
+elif board_id in (ap_board.ORANGE_PI_5, ap_board.ORANGE_PI_5_MAX):
from adafruit_blinka.board.orangepi.orangepi5 import *
elif board_id == ap_board.ORANGE_PI_5_PLUS: