Skip to content

Commit 7918e52

Browse files
authored
Merge pull request #232 from djairjr/main
Added possible support for orange pi 3 lts.
2 parents 7af3af8 + 3c13faf commit 7918e52

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

adafruit_platformdetect/board.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,8 @@ def _armbian_id(self) -> Optional[str]:
306306
board = boards.ORANGE_PI_2
307307
elif board_value == "orangepi3":
308308
board = boards.ORANGE_PI_3
309+
elif board_value == "orangepi3-lts":
310+
board = boards.ORANGE_PI_3_LTS
309311
elif board_value == "bananapim2zero":
310312
board = boards.BANANA_PI_M2_ZERO
311313
elif board_value == "orangepizeroplus2-h5":

adafruit_platformdetect/constants/boards.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
ORANGE_PI_ZERO_PLUS = "ORANGE_PI_ZERO_PLUS"
5151
ORANGE_PI_ZERO_2 = "ORANGE_PI_ZERO_2"
5252
ORANGE_PI_3 = "ORANGE_PI_3"
53+
ORANGE_PI_3_LTS = "ORANGE_PI_3_LTS"
5354

5455
# Nano Pi boards
5556
NANOPI_NEO_AIR = "NANOPI_NEO_AIR"
@@ -187,6 +188,7 @@
187188
ORANGE_PI_ZERO_PLUS,
188189
ORANGE_PI_ZERO_2,
189190
ORANGE_PI_3,
191+
ORANGE_PI_3_LTS,
190192
)
191193

192194
# NanoPi

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
#
5959
# This is also used if you do content translation via gettext catalogs.
6060
# Usually you set "language" from the command line for these cases.
61-
language = None
61+
language = "en"
6262

6363
# List of patterns, relative to source directory, that match files and
6464
# directories to ignore when looking for source files.

0 commit comments

Comments
 (0)