Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for Radxa Rock 5C #357

Merged
merged 3 commits into from
Jun 6, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions adafruit_platformdetect/board.py
Original file line number Diff line number Diff line change
Expand Up @@ -637,6 +637,8 @@ def _rock_pi_id(self) -> Optional[str]:
board = boards.ROCK_PI_X
if board_value and "ROCK 5" in board_value.upper():
board = boards.ROCK_PI_5
if board_value and "ROCK 5C" in board_value.upper():
board = boards.ROCK_PI_5C
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():
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 @@ -206,6 +206,7 @@
ROCK_PI_X = "ROCK_PI_X"
ROCK_PI_E = "ROCK_PI_E"
ROCK_PI_5 = "ROCK_PI_5"
ROCK_PI_5C = "ROCK_PI_5C"

GREATFET_ONE = "GREATFET_ONE"

Expand Down Expand Up @@ -539,6 +540,7 @@
RADXA_ZERO,
RADXA_ZERO3,
ROCK_PI_5,
ROCK_PI_5C,
RADXA_CM3,
ROCK_PI_3A,
ROCK_PI_3C,
Expand Down
Loading