diff --git a/adafruit_platformdetect/board.py b/adafruit_platformdetect/board.py index dfdff38..0603388 100644 --- a/adafruit_platformdetect/board.py +++ b/adafruit_platformdetect/board.py @@ -561,6 +561,8 @@ def _rk3566_id(self) -> Optional[str]: board = boards.RADXA_CM3 if board_value and "Rockchip RK3566 OPi 3B" in board_value: board = boards.ORANGE_PI_3B + if board_value and "Hardkernel ODROID-M1S" in board_value: + board = boards.ODROID_M1S return board def _rk3568_id(self) -> Optional[str]: diff --git a/adafruit_platformdetect/constants/boards.py b/adafruit_platformdetect/constants/boards.py index fd8c3bf..90255d5 100644 --- a/adafruit_platformdetect/constants/boards.py +++ b/adafruit_platformdetect/constants/boards.py @@ -147,6 +147,7 @@ ODROID_N2 = "ODROID_N2" ODROID_XU4 = "ODROID_XU4" ODROID_M1 = "ODROID_M1" +ODROID_M1S = "ODROID_M1S" FTDI_FT232H = "FTDI_FT232H" FTDI_FT2232H = "FTDI_FT2232H" @@ -395,6 +396,7 @@ ODROID_N2, ODROID_XU4, ODROID_M1, + ODROID_M1S, ) _ODROID_MINI_PC_IDS = (ODROID_H3,)