Skip to content

Commit 3ce8bb1

Browse files
committed
Added full model name for MaaXBoards to fix conflict with other i.MX8M devices
1 parent 8784c46 commit 3ce8bb1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adafruit_platformdetect/board.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,9 +336,9 @@ def _stm32mp1_id(self):
336336
def _imx8mx_id(self):
337337
"""Check what type iMX8M board."""
338338
board_value = self.detector.get_device_model()
339-
if "i.MX8MM" in board_value:
339+
if "FSL i.MX8MM DDR4 EVK" in board_value:
340340
return boards.MAAXBOARD_MINI
341-
if "i.MX8MQ" in board_value:
341+
if "Freescale i.MX8MQ EVK" in board_value:
342342
return boards.MAAXBOARD
343343
if "Phanbell" in board_value:
344344
return boards.CORAL_EDGE_TPU_DEV

0 commit comments

Comments
 (0)