Skip to content

Commit

Permalink
Merge pull request #344 from shawnchainw/main
Browse files Browse the repository at this point in the history
Added support for RADXA ROCK 3C board
  • Loading branch information
makermelissa committed Mar 4, 2024
2 parents 03fd0ea + d8f28b4 commit f991454
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
Expand Up @@ -575,6 +575,8 @@ def _rk3566_id(self) -> Optional[str]:
board = boards.LUBANCAT1
if board_value and "Radxa CM3 IO" in board_value:
board = boards.RADXA_CM3
if board_value and "Radxa ROCK3 Model C" in board_value:
board = boards.ROCK_PI_3C
if board_value and "Rockchip RK3566 OPi 3B" in board_value:
board = boards.ORANGE_PI_3B
if board_value and "Hardkernel ODROID-M1S" in board_value:
Expand Down
2 changes: 2 additions & 0 deletions adafruit_platformdetect/constants/boards.py
Expand Up @@ -195,6 +195,7 @@
RADXA_CM3 = "RADXA_CM3"

ROCK_PI_3A = "ROCK_PI_3A"
ROCK_PI_3C = "ROCK_PI_3C"
ROCK_PI_S = "ROCK_PI_S"
ROCK_PI_4 = "ROCK_PI_4"
ROCK_PI_4_C_PLUS = "ROCK_PI_4C+"
Expand Down Expand Up @@ -528,6 +529,7 @@
ROCK_PI_5,
RADXA_CM3,
ROCK_PI_3A,
ROCK_PI_3C,
)

# UDOO
Expand Down

0 comments on commit f991454

Please sign in to comment.