Merge pull request #253 from nibuild/add-bpim2plus

Adding support for Banana PI M2 Plus
This commit is contained in:
Melissa LeBlanc-Williams 2022-10-15 19:21:23 -07:00 committed by GitHub
commit 3059faa7cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -332,6 +332,8 @@ class Board:
board = boards.ORANGE_PI_4_LTS
elif board_value == "bananapim2zero":
board = boards.BANANA_PI_M2_ZERO
elif board_value == "bananapim2plus":
board = boards.BANANA_PI_M2_PLUS
elif board_value == "bananapim5":
board = boards.BANANA_PI_M5
elif board_value == "orangepizeroplus2-h5":

View file

@ -61,6 +61,7 @@ NANOPI_NEO = "NANOPI_NEO"
# Banana Pi boards
BANANA_PI_M2_ZERO = "BANANA_PI_M2_ZERO"
BANANA_PI_M2_PLUS = "BANANA_PI_M2_PLUS"
BANANA_PI_M5 = "BANANA_PI_M5"
# NVIDIA Jetson boards
@ -215,7 +216,7 @@ _ORANGE_PI_IDS = (
_NANOPI_IDS = (NANOPI_NEO_AIR, NANOPI_DUO2, NANOPI_NEO)
# BananaPI
_BANANA_PI_IDS = (BANANA_PI_M2_ZERO, BANANA_PI_M5)
_BANANA_PI_IDS = (BANANA_PI_M2_ZERO, BANANA_PI_M2_PLUS, BANANA_PI_M5)
# LubanCat
_LUBANCAT_IDS = (LUBANCAT_IMX6ULL, LUBANCAT_STM32MP157)