Merge pull request #351 from walnutpi/main

add support for walnutpi-1b-emmc
This commit is contained in:
Melissa LeBlanc-Williams 2024-05-30 09:33:03 -07:00 committed by GitHub
commit f1754d06f0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

View file

@ -730,6 +730,8 @@ class Board:
board = boards.ORANGE_PI_ZERO_PLUS_2H5
elif "H616" in chip_id:
board = boards.ORANGE_PI_ZERO_2
elif "walnutpi-1b-emmc" in board_value:
board = boards.WALNUT_PI_1B_EMMC
elif "walnutpi-1b" in board_value:
board = boards.WALNUT_PI_1B
# TODO: Add other specifc board contexts here

View file

@ -40,6 +40,7 @@ ASUS_TINKER_EDGE_R = "ASUS_TINKER_EDGE_R"
# Walnut Pi boards
WALNUT_PI_1B = "WALNUT_PI_1B"
WALNUT_PI_1B_EMMC = "WALNUT_PI_1B_EMMC"
# Clockwork Pi boards
CLOCKWORK_CPI3 = "CLOCKWORK_CPI3"
@ -238,7 +239,10 @@ _ASUS_TINKER_BOARD_IDS = (
)
# WalnutPi
_WALNUT_PI_IDS = (WALNUT_PI_1B,)
_WALNUT_PI_IDS = (
WALNUT_PI_1B,
WALNUT_PI_1B_EMMC,
)
# STM32MP1
_STM32MP1_IDS = (