Skip to content

添加nxp_mcx的软件包索引 #1887

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

Merged
merged 1 commit into from
May 7, 2025
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: 1 addition & 1 deletion peripherals/hal-sdk/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ source "$PKGS_DIR/packages/peripherals/mm32/Kconfig"
source "$PKGS_DIR/packages/peripherals/hal-sdk/wch/Kconfig"
source "$PKGS_DIR/packages/peripherals/hal-sdk/at32/Kconfig"
source "$PKGS_DIR/packages/peripherals/hal-sdk/hc32/Kconfig"

source "$PKGS_DIR/packages/peripherals/hal-sdk/nxp/Kconfig"
endmenu
7 changes: 7 additions & 0 deletions peripherals/hal-sdk/nxp/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
menu "NXP HAL & SDK Drivers"

# nxp-mcx
source "$PKGS_DIR/packages/peripherals/hal-sdk/nxp/nxp-mcx-cmsis/Kconfig"
source "$PKGS_DIR/packages/peripherals/hal-sdk/nxp/nxp-mcx-series/Kconfig"

endmenu
27 changes: 27 additions & 0 deletions peripherals/hal-sdk/nxp/nxp-mcx-cmsis/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@

# Kconfig file for package nxp_mcx_cmsis_driver
menuconfig PKG_USING_NXP_MCX_CMSIS_DRIVER
bool "NXP MCX CMSIS DRIVER PACKAGE"
default n

if PKG_USING_NXP_MCX_CMSIS_DRIVER

config PKG_NXP_MCX_CMSIS_DRIVER_PATH
string
default "/packages/peripherals/hal-sdk/nxp/nxp-mcx-cmsis"

choice
prompt "Version"
help
Select the package version

config PKG_USING_NXP_MCX_CMSIS_DRIVER_LATEST_VERSION
bool "latest"
endchoice

config PKG_NXP_MCX_CMSIS_DRIVER_VER
string
default "latest" if PKG_USING_NXP_MCX_CMSIS_DRIVER_LATEST_VERSION

endif

28 changes: 28 additions & 0 deletions peripherals/hal-sdk/nxp/nxp-mcx-cmsis/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"name": "nxp-mcx-cmsis",
"description": "NXP MCX CMSIS DRIVER PACKAGE",
"description_zh": "NXP MCX CMSIS 驱动包",
"enable": "PKG_USING_NXP_MCX_CMSIS_DRIVER",
"keywords": [
"nxp-mcx-cmsis"
],
"category": "peripherals",
"author": {
"name": "RT-Thread-packages",
"email": "package_team@rt-thread.com",
"github": "RT-Thread-packages"
},
"license": "Apache-2.0",
"repository": "https://github.com/RT-Thread-packages/nxp-mcx-cmsis",
"icon": "unknown",
"homepage": "https://github.com/RT-Thread-packages/nxp-mcx-cmsis#readme",
"doc": "unknown",
"site": [
{
"version": "latest",
"URL": "https://github.com/RT-Thread-packages/nxp-mcx-cmsis.git",
"filename": "",
"VER_SHA": "master"
}
]
}
27 changes: 27 additions & 0 deletions peripherals/hal-sdk/nxp/nxp-mcx-series/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@

# Kconfig file for package nxp_mcx_series_driver
menuconfig PKG_USING_NXP_MCX_SERIES_DRIVER
bool "NXP MCX SERIES DRIVER PACKAGE"
default n

if PKG_USING_NXP_MCX_SERIES_DRIVER

config PKG_NXP_MCX_SERIES_DRIVER_PATH
string
default "/packages/peripherals/hal-sdk/nxp/nxp-mcx-series"

choice
prompt "Version"
help
Select the package version

config PKG_USING_NXP_MCX_SERIES_DRIVER_LATEST_VERSION
bool "latest"
endchoice

config PKG_NXP_MCX_SERIES_DRIVER_VER
string
default "latest" if PKG_USING_NXP_MCX_SERIES_DRIVER_LATEST_VERSION

endif

28 changes: 28 additions & 0 deletions peripherals/hal-sdk/nxp/nxp-mcx-series/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"name": "nxp-mcx-series",
"description": "NXP MCX SERIES DRIVER PACKAGE",
"description_zh": "NXP MCX SERIES 驱动包",
"enable": "PKG_USING_NXP_MCX_SERIES_DRIVER",
"keywords": [
"nxp-mcx-series"
],
"category": "peripherals",
"author": {
"name": "RT-Thread-packages",
"email": "package_team@rt-thread.com",
"github": "RT-Thread-packages"
},
"license": "Apache-2.0",
"repository": "https://github.com/RT-Thread-packages/nxp-mcx-series",
"icon": "unknown",
"homepage": "https://github.com/RT-Thread-packages/nxp-mcx-series#readme",
"doc": "unknown",
"site": [
{
"version": "latest",
"URL": "https://github.com/RT-Thread-packages/nxp-mcx-series.git",
"filename": "",
"VER_SHA": "master"
}
]
}