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

Add support for lubancat-5 #359

Merged
merged 1 commit into from
Jun 17, 2024
Merged
Show file tree
Hide file tree
Changes from all 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 @@ -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
Loading