@@ -196,6 +196,7 @@ def id(self) -> Optional[str]:
196196 or self ._orange_pi_id ()
197197 or self ._armbian_id ()
198198 or self ._rk3588_id ()
199+ or self ._ameridroid_id ()
199200 )
200201 elif chip_id == chips .RYZEN_V1605B :
201202 board_id = self ._udoo_id ()
@@ -482,6 +483,11 @@ def _diet_pi_id(self) -> Optional[str]:
482483 if "OrangePi 4" in board_value :
483484 return boards .ORANGE_PI_4
484485 return None
486+
487+ def _ameridroid_id (self ) -> Optional [str ]:
488+ board_value = self .detector .get_device_model ().upper ()
489+ if "INDIEDROID NOVA" in board_value :
490+ return boards .INDIEDROID_NOVA
485491
486492 def _orange_pi_id (self ) -> Optional [str ]:
487493 board_value = self .detector .get_device_model ()
@@ -941,6 +947,11 @@ def any_raspberry_pi_cm(self) -> bool:
941947 def any_beaglebone (self ) -> bool :
942948 """Check whether the current board is any Beaglebone-family system."""
943949 return self .id in boards ._BEAGLEBONE_IDS
950+
951+ @property
952+ def any_ameridroid (self ) -> bool :
953+ """Check whether the current board is any Ameridroid device."""
954+ return self .id in boards ._AMERIDROID_IDS
944955
945956 @property
946957 def any_orange_pi (self ) -> bool :
@@ -1130,6 +1141,7 @@ def lazily_generate_conditions():
11301141 yield self .any_raspberry_pi_40_pin
11311142 yield self .any_raspberry_pi
11321143 yield self .any_beaglebone
1144+ yield self .any_ameridroid
11331145 yield self .any_orange_pi
11341146 yield self .any_nanopi
11351147 yield self .any_giant_board
0 commit comments