Browse Source

Merge pull request #146 from TeslaK20/master

Added detection for OSD32MP1 development board.
pull/148/head 3.4.0
Melissa LeBlanc-Williams 4 years ago
committed by GitHub
parent
commit
3e36c50c4a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions
  1. +2
    -0
      adafruit_platformdetect/board.py
  2. +2
    -0
      adafruit_platformdetect/constants/boards.py

+ 2
- 0
adafruit_platformdetect/board.py View File

@ -302,6 +302,8 @@ class Board:
return boards.STM32MP157C_DK2
if "LubanCat" in board_value:
return boards.LUBANCAT_STM32MP157
if "OSD32MP1-BRK" in board_value:
return boards.OSD32MP1_BRK
return None
def _imx8mx_id(self):


+ 2
- 0
adafruit_platformdetect/constants/boards.py View File

@ -70,6 +70,7 @@ PYNQ_Z2 = "PYNQ_Z2"
# STM32 MPU boards
STM32MP157C_DK2 = "STM32MP157C_DK2"
OSD32MP1_BRK = "OSD32MP1_BRK"
# Embedfire LubanCat board
LUBANCAT_IMX6ULL = "LUBANCAT_IMX6ULL"
@ -138,6 +139,7 @@ _ASUS_TINKER_BOARD_IDS = (ASUS_TINKER_BOARD,)
_STM32MP1_IDS = (
STM32MP157C_DK2,
LUBANCAT_STM32MP157,
OSD32MP1_BRK,
)
# OrangePI


|||||||
x
 
000:0
Loading…
Cancel
Save