File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ def id(self) -> Optional[str]:
164164 elif chip_id == chips .T527 :
165165 board_id = self ._armbian_id () or self ._allwinner_variants_id ()
166166 elif chip_id == chips .H618 :
167- board_id = self ._armbian_id () or self ._allwinner_variants_id ()
167+ board_id = self ._armbian_id () or self ._allwinner_variants_id () or self . _orange_pi_id ()
168168 elif chip_id == chips .H616 :
169169 board_id = self ._armbian_id () or self ._allwinner_variants_id ()
170170 elif chip_id == chips .A33 :
@@ -541,6 +541,8 @@ def _orange_pi_id(self) -> Optional[str]:
541541 return boards .ORANGE_PI_5
542542 if "Orange Pi 3B" in board_value :
543543 return boards .ORANGE_PI_3B
544+ if "OrangePi Zero 2W" in board_value :
545+ return boards .ORANGE_PI_ZERO_2W
544546 return None
545547
546548 # pylint: enable=too-many-return-statements
Original file line number Diff line number Diff line change 6060ORANGE_PI_ZERO_PLUS_2H5 = "ORANGE_PI_ZERO_PLUS_2H5"
6161ORANGE_PI_ZERO_PLUS = "ORANGE_PI_ZERO_PLUS"
6262ORANGE_PI_ZERO_2 = "ORANGE_PI_ZERO_2"
63+ ORANGE_PI_ZERO_2W = "ORANGE_PI_ZERO_2W"
6364ORANGE_PI_ZERO_3 = "ORANGE_PI_ZERO_3"
6465ORANGE_PI_3 = "ORANGE_PI_3"
6566ORANGE_PI_3B = "ORANGE_PI_3B"
317318 ORANGE_PI_ZERO_PLUS_2H5 ,
318319 ORANGE_PI_ZERO_PLUS ,
319320 ORANGE_PI_ZERO_2 ,
321+ ORANGE_PI_ZERO_2W ,
320322 ORANGE_PI_3 ,
321323 ORANGE_PI_3B ,
322324 ORANGE_PI_3_LTS ,
You can’t perform that action at this time.
0 commit comments