File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -384,6 +384,8 @@ def _armbian_id(self) -> Optional[str]:
384
384
board = boards .ORANGE_PI_4
385
385
elif board_value == "orangepi4-lts" :
386
386
board = boards .ORANGE_PI_4_LTS
387
+ elif board_value == "orangepi5-plus" :
388
+ board = boards .ORANGE_PI_5_PLUS
387
389
elif board_value == "orangepi5" :
388
390
board = boards .ORANGE_PI_5
389
391
elif board_value == "bananapim2zero" :
@@ -430,6 +432,8 @@ def _diet_pi_id(self) -> Optional[str]:
430
432
431
433
def _orange_pi_id (self ) -> Optional [str ]:
432
434
board_value = self .detector .get_device_model ()
435
+ if "Orange Pi 5 Plus" in board_value :
436
+ return boards .ORANGE_PI_5_PLUS
433
437
if "Orange Pi 5" in board_value :
434
438
return boards .ORANGE_PI_5
435
439
if "Orange Pi 3B" in board_value :
Original file line number Diff line number Diff line change 62
62
ORANGE_PI_4 = "ORANGE_PI_4"
63
63
ORANGE_PI_4_LTS = "ORANGE_PI_4_LTS"
64
64
ORANGE_PI_5 = "ORANGE_PI_5"
65
+ ORANGE_PI_5_PLUS = "ORANGE_PI_5_PLUS"
65
66
66
67
# Nano Pi boards
67
68
NANOPI_NEO_AIR = "NANOPI_NEO_AIR"
256
257
ORANGE_PI_4 ,
257
258
ORANGE_PI_4_LTS ,
258
259
ORANGE_PI_5 ,
260
+ ORANGE_PI_5_PLUS ,
259
261
)
260
262
261
263
# NanoPi
You can’t perform that action at this time.
0 commit comments