1 # SPDX-FileCopyrightText: 2021 Melissa LeBlanc-Williams for Adafruit Industries
3 # SPDX-License-Identifier: MIT
4 """Configuration of testing fixtures depending on the board layout"""
5 from adafruit_blinka import agnostic
9 if agnostic.board == "feather_m0_express":
10 default_pin = board.D5
14 elif agnostic.board == "feather_huzzah":
15 default_pin = board.GPIO4
16 led_pin = board.GPIO0 # red led
19 elif agnostic.board == "pyboard":
20 default_pin = board.X1
21 led_pin = board.LED_BLUE
27 raise NotImplementedError("Board not supported")