Skip to content

Commit

Permalink
Merge pull request #341 from michaelstoops/main
Browse files Browse the repository at this point in the history
Added detection for LeMaker Banana Pro running Debian Bookworm (12.4)
  • Loading branch information
makermelissa committed Feb 1, 2024
2 parents 5ed903c + 0e18221 commit 662570f
Showing 1 changed file with 3 additions and 2 deletions.
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

0 comments on commit 662570f

Please sign in to comment.