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 detection for LeMaker Banana Pro running Debian Bookworm (12.4) #341

Merged
merged 2 commits into from
Feb 1, 2024
Merged
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
5 changes: 3 additions & 2 deletions adafruit_platformdetect/board.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,8 +404,6 @@ def _armbian_id(self) -> Optional[str]:
board = boards.BANANA_PI_M2_BERRY
elif board_value == "bananapim5":
board = boards.BANANA_PI_M5
elif board_value == "bananapipro":
board = boards.LEMAKER_BANANA_PRO
elif board_value == "orangepizeroplus2-h5":
board = boards.ORANGE_PI_ZERO_PLUS_2H5
elif board_value == "orangepizeroplus":
Expand Down Expand Up @@ -703,6 +701,9 @@ def _allwinner_variants_id(self) -> Optional[str]:
board_value = board_value.lower()
chip_id = self.detector.chip.id

if "banana pro" in board_value:
board = boards.LEMAKER_BANANA_PRO

if "banana pi m2 berry" in board_value:
board = boards.BANANA_PI_M2_BERRY

Expand Down
Loading