Skip to content

Commit

Permalink
Merge pull request #343 from shawnchainw/main
Browse files Browse the repository at this point in the history
Added support for RADXA ROCK 4SE board
  • Loading branch information
makermelissa authored Feb 28, 2024
2 parents 662570f + 00e4f84 commit 0bb023d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions adafruit_platformdetect/board.py
Original file line number Diff line number Diff line change
Expand Up @@ -617,6 +617,8 @@ def _rock_pi_id(self) -> Optional[str]:
board = boards.ROCK_PI_5
if board_value and "RADXA ROCK 4C+" in board_value.upper():
board = boards.ROCK_PI_4_C_PLUS
if board_value and "RADXA ROCK 4SE" in board_value.upper():
board = boards.ROCK_PI_4_SE
if board_value and "ROCK3 Model A" in board_value:
board = boards.ROCK_PI_3A
return board
Expand Down
2 changes: 2 additions & 0 deletions adafruit_platformdetect/constants/boards.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@
ROCK_PI_S = "ROCK_PI_S"
ROCK_PI_4 = "ROCK_PI_4"
ROCK_PI_4_C_PLUS = "ROCK_PI_4C+"
ROCK_PI_4_SE = "ROCK_PI_4_SE"
ROCK_PI_X = "ROCK_PI_X"
ROCK_PI_E = "ROCK_PI_E"
ROCK_PI_5 = "ROCK_PI_5"
Expand Down Expand Up @@ -519,6 +520,7 @@
ROCK_PI_S,
ROCK_PI_4,
ROCK_PI_4_C_PLUS,
ROCK_PI_4_SE,
ROCK_PI_X,
ROCK_PI_E,
RADXA_ZERO,
Expand Down

0 comments on commit 0bb023d

Please sign in to comment.