Skip to content

Commit

Permalink
Merge pull request #326 from how2flow/odroidm1s
Browse files Browse the repository at this point in the history
New support for ODROID-M1S
  • Loading branch information
makermelissa authored Nov 14, 2023
2 parents bb2d274 + 732702d commit 1ff8b3b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions adafruit_platformdetect/board.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]:
Expand Down
2 changes: 2 additions & 0 deletions adafruit_platformdetect/constants/boards.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -395,6 +396,7 @@
ODROID_N2,
ODROID_XU4,
ODROID_M1,
ODROID_M1S,
)

_ODROID_MINI_PC_IDS = (ODROID_H3,)
Expand Down

0 comments on commit 1ff8b3b

Please sign in to comment.