diff --git a/adafruit_platformdetect/board.py b/adafruit_platformdetect/board.py index 02dcd4b..f36d6d5 100644 --- a/adafruit_platformdetect/board.py +++ b/adafruit_platformdetect/board.py @@ -579,6 +579,8 @@ def _rk3566_id(self) -> Optional[str]: board = boards.ORANGE_PI_3B if board_value and "Hardkernel ODROID-M1S" in board_value: board = boards.ODROID_M1S + elif "quartz64-a" in board_value.lower(): + board = boards.QUARTZ64_A return board def _rk3568_id(self) -> Optional[str]: diff --git a/adafruit_platformdetect/constants/boards.py b/adafruit_platformdetect/constants/boards.py index 472b2b7..2cd7308 100644 --- a/adafruit_platformdetect/constants/boards.py +++ b/adafruit_platformdetect/constants/boards.py @@ -189,6 +189,7 @@ PINEBOOK = "PINEBOOK" PINEPHONE = "PINEPHONE" SOPINE = "SOPINE" +QUARTZ64_A = "QUARTZ64_A" RADXA_ZERO = "RADXA_ZERO" RADXA_CM3 = "RADXA_CM3" @@ -511,7 +512,7 @@ _ONION_OMEGA_BOARD_IDS = (ONION_OMEGA, ONION_OMEGA2) # Pine64 boards and devices -_PINE64_DEV_IDS = (PINE64, PINEH64, PINEBOOK, PINEPHONE, SOPINE) +_PINE64_DEV_IDS = (PINE64, PINEH64, PINEBOOK, PINEPHONE, SOPINE, QUARTZ64_A) # Pcduino baords _PCDUINO_DEV_IDS = (PCDUINO2, PCDUINO3)