@@ -187,8 +187,6 @@ def id(self) -> Optional[str]:
187
187
or self ._armbian_id ()
188
188
or self ._rk3588_id ()
189
189
)
190
- elif chip_id == chips .RV1106 :
191
- board_id = self ._rv1106_id ()
192
190
elif chip_id == chips .RYZEN_V1605B :
193
191
board_id = self ._udoo_id ()
194
192
elif chip_id == chips .PENTIUM_N3710 :
@@ -215,6 +213,8 @@ def id(self) -> Optional[str]:
215
213
board_id = boards .MILKV_DUO
216
214
elif chip_id == chips .TH1520 :
217
215
board_id = boards .LICHEEPI_4A
216
+ elif chip_id == chips .RV1106 :
217
+ board_id = self ._rv1106_id ()
218
218
self ._board_id = board_id
219
219
return board_id
220
220
@@ -607,14 +607,6 @@ def _rk3588_id(self) -> Optional[str]:
607
607
board = boards .LUBANCAT4
608
608
return board
609
609
610
- def _rv1106_id (self ) -> Optional [str ]:
611
- """Check what type of rv1106 board."""
612
- board_value = self .detector .get_device_model ()
613
- board = None
614
- if board_value and "Luckfox Pico Max" in board_value :
615
- board = boards .LUCKFOX_PICO_MAX
616
- return board
617
-
618
610
def _rock_pi_id (self ) -> Optional [str ]:
619
611
"""Check what type of Rock Pi board."""
620
612
board_value = self .detector .get_device_model ()
@@ -810,6 +802,14 @@ def _siemens_simatic_iot2000_id(self) -> Optional[str]:
810
802
board = boards .SIEMENS_SIMATIC_IOT2050_BASIC
811
803
return board
812
804
805
+ def _rv1106_id (self ) -> Optional [str ]:
806
+ """Check what type of rv1106 board."""
807
+ board_value = self .detector .get_device_model ()
808
+ board = None
809
+ if board_value and "Luckfox Pico Max" in board_value :
810
+ board = boards .LUCKFOX_PICO_MAX
811
+ return board
812
+
813
813
@property
814
814
def any_siemens_simatic_iot2000 (self ) -> bool :
815
815
"""Check whether the current board is a SIEMENS SIMATIC IOT2000 Gateway."""
@@ -994,7 +994,7 @@ def any_olimex_lime2_board(self):
994
994
def any_repka_board (self ):
995
995
"""Check whether the current board is any Repka device."""
996
996
return self .id in boards ._REPKA_PI_IDS
997
-
997
+
998
998
@property
999
999
def any_luckfox_pico_board (self ):
1000
1000
"""Check whether the current board is any Luckfox Pico device."""
0 commit comments