Skip to content

Commit 11f224d

Browse files
committed
Finalized testing for M2-Berry
1 parent da8460f commit 11f224d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

adafruit_platformdetect/board.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,6 @@ def _tisk_id(self) -> Optional[str]:
337337
def _armbian_id(self) -> Optional[str]:
338338
"""Check whether the current board is an OrangePi board."""
339339
board_value = self.detector.get_armbian_release_field("BOARD")
340-
print(self.detector.get_device_model())
341340
board = None
342341

343342
if board_value == "orangepipc":
@@ -637,6 +636,10 @@ def _allwinner_variants_id(self) -> Optional[str]:
637636
return board
638637
board_value = board_value.lower()
639638
chip_id = self.detector.chip.id
639+
640+
if "banana pi m2 berry" in board_value:
641+
board = boards.BANANA_PI_M2_BERRY
642+
640643
if "nanopi" in board_value:
641644
if "neo" in board_value and "SUN8I" in chip_id:
642645
board = boards.NANOPI_NEO_AIR

0 commit comments

Comments
 (0)