Skip to content

Commit

Permalink
Add support for lubancat-5
Browse files Browse the repository at this point in the history
  • Loading branch information
mmontol committed Jun 15, 2024
1 parent 565e00b commit e355772
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 @@ -623,6 +623,8 @@ def _rk3588_id(self) -> Optional[str]:
board = None
if board_value and "LubanCat-4" in board_value:
board = boards.LUBANCAT4
if board_value and "LubanCat-5" in board_value:
board = boards.LUBANCAT5
return board

def _rock_pi_id(self) -> Optional[str]:
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 @@ -119,6 +119,7 @@
LUBANCAT1 = "LUBANCAT1"
LUBANCAT2 = "LUBANCAT2"
LUBANCAT4 = "LUBANCAT4"
LUBANCAT5 = "LUBANCAT5"

# Various Raspberry Pi models
RASPBERRY_PI_B_REV1 = "RASPBERRY_PI_B_REV1"
Expand Down Expand Up @@ -309,6 +310,7 @@
LUBANCAT1,
LUBANCAT2,
LUBANCAT4,
LUBANCAT5,
)

# Coral boards
Expand Down

0 comments on commit e355772

Please sign in to comment.