Skip to content

add stm32mp1 软件包仓库索引 #1888

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
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
4 changes: 4 additions & 0 deletions peripherals/hal-sdk/stm32/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,8 @@ source "$PKGS_DIR/packages/peripherals/hal-sdk/stm32/stm32wl_cmsis_driver/Kconfi
source "$PKGS_DIR/packages/peripherals/hal-sdk/stm32/stm32wb_hal_driver/Kconfig"
source "$PKGS_DIR/packages/peripherals/hal-sdk/stm32/stm32wb_cmsis_driver/Kconfig"

#STM32MP1
source "$PKGS_DIR/packages/peripherals/hal-sdk/stm32/stm32mp1_m4_hal_driver/Kconfig"
source "$PKGS_DIR/packages/peripherals/hal-sdk/stm32/stm32mp1_m4_cmsis_driver/Kconfig"

endmenu
27 changes: 27 additions & 0 deletions peripherals/hal-sdk/stm32/stm32mp1_m4_cmsis_driver/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Kconfig file for package stm32mp1_m4_cmsis_driver
menuconfig PKG_USING_STM32MP1_M4_CMSIS_DRIVER
bool "STM32 MP1_M4 CMSIS driver package"
select PKG_USING_CMSIS_CORE
default n

if PKG_USING_STM32MP1_M4_CMSIS_DRIVER

config PKG_STM32MP1_M4_CMSIS_DRIVER_PATH
string
default "/packages/peripherals/hal-sdk/stm32/stm32mp1_m4_cmsis_driver"

choice
prompt "Version"
help
Select the package version

config PKG_USING_STM32MP1_M4_CMSIS_DRIVER_LATEST_VERSION
bool "latest"
endchoice

config PKG_STM32MP1_M4_CMSIS_DRIVER_VER
string
default "latest" if PKG_USING_STM32MP1_M4_CMSIS_DRIVER_LATEST_VERSION

endif

29 changes: 29 additions & 0 deletions peripherals/hal-sdk/stm32/stm32mp1_m4_cmsis_driver/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"name": "stm32mp1_m4_cmsis_driver",
"description": "STM32 MP1_M4 CMSIS driver package",
"description_zh": "STM32 MP1_M4 CMSIS 驱动包",
"enable": "PKG_USING_STM32MP1_M4_CMSIS_DRIVER",
"keywords": [
"stm32mp1_m4_cmsis_driver",
"STM32"
],
"category": "peripherals",
"author": {
"name": "RT-Thread-packages",
"email": "[email protected]",
"github": "RT-Thread-packages"
},
"license": "Apache-2.0",
"repository": "https://github.com/RT-Thread-packages/cmsis-device-mp1xxx-m4",
"icon": "unknown",
"homepage": "https://github.com/RT-Thread-packages/cmsis-device-mp1xxx-m4#readme",
"doc": "unknown",
"site": [
{
"version": "latest",
"URL": "https://github.com/RT-Thread-packages/cmsis-device-mp1xxx-m4.git",
"filename": "",
"VER_SHA": "master"
}
]
}
28 changes: 28 additions & 0 deletions peripherals/hal-sdk/stm32/stm32mp1_m4_hal_driver/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@

# Kconfig file for package stm32mp1_m4_hal_driver
menuconfig PKG_USING_STM32MP1_M4_HAL_DRIVER
bool "STM32 MP1_M4 HAL driver package"
select PKG_USING_STM32MP1_M4_CMSIS_DRIVER
default n

if PKG_USING_STM32MP1_M4_HAL_DRIVER

config PKG_STM32MP1_M4_HAL_DRIVER_PATH
string
default "/packages/peripherals/hal-sdk/stm32/stm32mp1_m4_hal_driver"

choice
prompt "Version"
help
Select the package version

config PKG_USING_STM32MP1_M4_HAL_DRIVER_LATEST_VERSION
bool "latest"
endchoice

config PKG_STM32MP1_M4_HAL_DRIVER_VER
string
default "latest" if PKG_USING_STM32MP1_M4_HAL_DRIVER_LATEST_VERSION

endif

29 changes: 29 additions & 0 deletions peripherals/hal-sdk/stm32/stm32mp1_m4_hal_driver/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"name": "stm32mp1_m4_hal_driver",
"description": "STM32 MP1_M4 HAL driver package",
"description_zh": "STM32 MP1_M4 HAL 驱动包",
"enable": "PKG_USING_STM32MP1_M4_HAL_DRIVER",
"keywords": [
"stm32mp1_m4_hal_driver",
"STM32"
],
"category": "peripherals",
"author": {
"name": "RT-Thread-packages",
"email": "[email protected]",
"github": "RT-Thread-packages"
},
"license": "BSD-3-Clause",
"repository": "https://github.com/RT-Thread-packages/stm32mp1xx-m4-hal-driver",
"icon": "unknown",
"homepage": "https://github.com/RT-Thread-packages/stm32mp1xx-m4-hal-driver#readme",
"doc": "unknown",
"site": [
{
"version": "latest",
"URL": "https://github.com/RT-Thread-packages/stm32mp1xx-m4-hal-driver.git",
"filename": "",
"VER_SHA": "master"
}
]
}