Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions adafruit_platformdetect/board.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,8 @@ def _armbian_id(self):
board = boards.ORANGE_PI_2
if board_value == "bananapim2zero":
board = boards.BANANA_PI_M2_ZERO
if board_value == "orangepizeroplus2-h5":
board = boards.ORANGE_PI_ZERO_PLUS_2H5

return board

Expand Down
3 changes: 3 additions & 0 deletions adafruit_platformdetect/chip.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,9 @@ def _linux_id(self):
if self.detector.check_dt_compatible_value("sun50i-a64"):
return chips.A64

if self.detector.check_dt_compatible_value("sun50i-h5"):
return chips.H5

if self.detector.check_dt_compatible_value("mediatek,mt8167"):
return chips.MT8167

Expand Down