X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/blobdiff_plain/fb7e7bd346bc1f2a40b406b9a435da9792006e96..22b67a2080d2aadc52afd8fa71dbbeb2b7fe0d53:/src/board.py diff --git a/src/board.py b/src/board.py old mode 100755 new mode 100644 index d4f37ef..425a0c6 --- a/src/board.py +++ b/src/board.py @@ -1,24 +1,6 @@ -# The MIT License (MIT) +# SPDX-FileCopyrightText: 2021 Melissa LeBlanc-Williams for Adafruit Industries # -# Copyright (c) 2017 cefn for adafruit industries -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -# THE SOFTWARE. +# SPDX-License-Identifier: MIT """ `board` - Define ids for available pins ================================================= @@ -136,9 +118,15 @@ elif board_id == ap_board.ORANGE_PI_ZERO_PLUS: elif board_id == ap_board.ORANGE_PI_ZERO_2: from adafruit_blinka.board.orangepi.orangepizero2 import * +elif board_id == ap_board.ORANGE_PI_3: + from adafruit_blinka.board.orangepi.orangepi3 import * + elif board_id == ap_board.BANANA_PI_M2_ZERO: from adafruit_blinka.board.bananapi.bpim2zero import * +elif board_id == ap_board.BANANA_PI_M5: + from adafruit_blinka.board.bananapi.bpim5 import * + elif board_id == ap_board.GIANT_BOARD: from adafruit_blinka.board.giantboard import * @@ -160,6 +148,9 @@ elif board_id == ap_board.JETSON_NANO: elif board_id == ap_board.JETSON_NX: from adafruit_blinka.board.nvidia.jetson_nx import * +elif board_id == ap_board.JETSON_AGX_ORIN: + from adafruit_blinka.board.nvidia.jetson_orin import * + elif board_id == ap_board.CLARA_AGX_XAVIER: from adafruit_blinka.board.nvidia.clara_agx_xavier import * @@ -178,6 +169,9 @@ elif board_id == ap_board.ODROID_C4: elif board_id == ap_board.ODROID_N2: from adafruit_blinka.board.hardkernel.odroidn2 import * +elif board_id == ap_board.KHADAS_VIM3: + from adafruit_blinka.board.khadas.khadasvim3 import * + elif board_id == ap_board.ODROID_XU4: from adafruit_blinka.board.hardkernel.odroidxu4 import * @@ -217,6 +211,9 @@ elif board_id == ap_board.CLOCKWORK_CPI3: elif board_id == ap_board.ONION_OMEGA2: from adafruit_blinka.board.onion.omega2 import * +elif board_id == ap_board.RADXA_ZERO: + from adafruit_blinka.board.radxa.radxazero import * + elif board_id == ap_board.ROCK_PI_S: from adafruit_blinka.board.radxa.rockpis import *