@@ -167,6 +167,7 @@ def id(self) -> Optional[str]:
167167                or  self ._armbian_id ()
168168                or  self ._diet_pi_id ()
169169                or  self ._asus_tinker_board_id ()
170+                 or  self ._vivid_unit_id ()
170171            )
171172        elif  chip_id  ==  chips .RK3399PRO :
172173            board_id  =  self ._asus_tinker_board_id ()
@@ -712,6 +713,14 @@ def _asus_tinker_board_id(self) -> Optional[str]:
712713
713714        return  board 
714715
716+     def  _vivid_unit_id (self ) ->  Optional [str ]:
717+         """Check what type of vivid unit.""" 
718+         board_value  =  self .detector .get_device_model ()
719+         board  =  None 
720+         if  board_value  and  "RK3399 VIVID"  in  board_value :
721+             board  =  boards .VIVID_UNIT 
722+         return  board 
723+ 
715724    def  _pcduino_board_id (self ) ->  Optional [str ]:
716725        """Check on the type of Pcduino""" 
717726        board_value  =  self .detector .get_device_model ()
@@ -1023,7 +1032,7 @@ def any_nxp_navq_board(self) -> bool:
10231032
10241033    @property  
10251034    def  any_olimex_board (self ):
1026-         """Check whether the current board is any Pine64  device.""" 
1035+         """Check whether the current board is any Olimex  device.""" 
10271036        return  self .id  in  boards ._OLIMEX_IDS 
10281037
10291038    @property  
@@ -1036,6 +1045,11 @@ def any_luckfox_pico_board(self):
10361045        """Check whether the current board is any Luckfox Pico device.""" 
10371046        return  self .id  in  boards ._LUCKFOX_IDS 
10381047
1048+     @property  
1049+     def  any_vivid_unit (self ):
1050+         """Check whether the current board is any Vivid Unit device.""" 
1051+         return  self .id  in  boards ._VIVID_UNIT_IDS 
1052+ 
10391053    @property  
10401054    def  os_environ_board (self ) ->  bool :
10411055        """Check whether the current board is an OS environment variable special case.""" 
@@ -1103,6 +1117,7 @@ def lazily_generate_conditions():
11031117            yield  self .any_repka_board 
11041118            yield  self .any_milkv_board 
11051119            yield  self .any_luckfox_pico_board 
1120+             yield  self .any_vivid_unit 
11061121
11071122        return  any (condition  for  condition  in  lazily_generate_conditions ())
11081123
0 commit comments