@@ -175,6 +175,8 @@ def id(self) -> Optional[str]:
175
175
board_id = self ._udoo_id ()
176
176
elif chip_id == chips .PENTIUM_N3710 :
177
177
board_id = self ._udoo_id ()
178
+ elif chip_id == chips .CELERON_N5105 :
179
+ board_id = self ._intel_n_series_id ()
178
180
elif chip_id == chips .STM32MP157 :
179
181
board_id = self ._stm32mp1_id ()
180
182
elif chip_id == chips .STM32MP157DAA1 :
@@ -586,6 +588,13 @@ def _udoo_id(self) -> Optional[str]:
586
588
587
589
return None
588
590
591
+ def _intel_n_series_id (self ) -> Optional [str ]:
592
+ """Try to detect the id of an Intel N-Series board."""
593
+ if self .detector .check_board_name_value () == "ODROID-H3" :
594
+ return boards .ODROID_H3
595
+
596
+ return None
597
+
589
598
def _j4105_id (self ) -> Optional [str ]:
590
599
"""Try to detect the id of J4105 board."""
591
600
try :
@@ -754,6 +763,11 @@ def any_odroid_40_pin(self) -> bool:
754
763
"""Check whether the current board is any defined 40-pin Odroid."""
755
764
return self .id in boards ._ODROID_40_PIN_IDS
756
765
766
+ @property
767
+ def any_odroid_mini_pc (self ) -> bool :
768
+ """Check whether the current board is any defined Odroid Mini PC."""
769
+ return self .id in boards ._ODROID_MINI_PC_IDS
770
+
757
771
@property
758
772
def khadas_vim3_40_pin (self ) -> bool :
759
773
"""Check whether the current board is any defined 40-pin Khadas VIM3."""
@@ -880,6 +894,7 @@ def lazily_generate_conditions():
880
894
yield self .any_jetson_board
881
895
yield self .any_coral_board
882
896
yield self .any_odroid_40_pin
897
+ yield self .any_odroid_mini_pc
883
898
yield self .khadas_vim3_40_pin
884
899
yield self .any_96boards
885
900
yield self .any_sifive_board
0 commit comments