@@ -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 ()
@@ -482,6 +483,11 @@ def _diet_pi_id(self) -> Optional[str]:
482
483
if "OrangePi 4" in board_value :
483
484
return boards .ORANGE_PI_4
484
485
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
485
491
486
492
def _orange_pi_id (self ) -> Optional [str ]:
487
493
board_value = self .detector .get_device_model ()
@@ -941,6 +947,11 @@ def any_raspberry_pi_cm(self) -> bool:
941
947
def any_beaglebone (self ) -> bool :
942
948
"""Check whether the current board is any Beaglebone-family system."""
943
949
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
944
955
945
956
@property
946
957
def any_orange_pi (self ) -> bool :
@@ -1130,6 +1141,7 @@ def lazily_generate_conditions():
1130
1141
yield self .any_raspberry_pi_40_pin
1131
1142
yield self .any_raspberry_pi
1132
1143
yield self .any_beaglebone
1144
+ yield self .any_ameridroid
1133
1145
yield self .any_orange_pi
1134
1146
yield self .any_nanopi
1135
1147
yield self .any_giant_board
0 commit comments