@@ -196,6 +196,7 @@ def id(self) -> Optional[str]:
196
196
or self ._orange_pi_id ()
197
197
or self ._armbian_id ()
198
198
or self ._rk3588_id ()
199
+ or self ._ameridroid_id ()
199
200
)
200
201
elif chip_id == chips .RYZEN_V1605B :
201
202
board_id = self ._udoo_id ()
@@ -483,6 +484,12 @@ def _diet_pi_id(self) -> Optional[str]:
483
484
return boards .ORANGE_PI_4
484
485
return None
485
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
491
+ return None
492
+
486
493
def _orange_pi_id (self ) -> Optional [str ]:
487
494
board_value = self .detector .get_device_model ()
488
495
if "Orange Pi 5 Plus" in board_value :
@@ -942,6 +949,11 @@ def any_beaglebone(self) -> bool:
942
949
"""Check whether the current board is any Beaglebone-family system."""
943
950
return self .id in boards ._BEAGLEBONE_IDS
944
951
952
+ @property
953
+ def any_ameridroid (self ) -> bool :
954
+ """Check whether the current board is any Ameridroid device."""
955
+ return self .id in boards ._AMERIDROID_IDS
956
+
945
957
@property
946
958
def any_orange_pi (self ) -> bool :
947
959
"""Check whether the current board is any defined Orange Pi."""
@@ -1130,6 +1142,7 @@ def lazily_generate_conditions():
1130
1142
yield self .any_raspberry_pi_40_pin
1131
1143
yield self .any_raspberry_pi
1132
1144
yield self .any_beaglebone
1145
+ yield self .any_ameridroid
1133
1146
yield self .any_orange_pi
1134
1147
yield self .any_nanopi
1135
1148
yield self .any_giant_board
0 commit comments