Skip to content

Commit 9b2901b

Browse files
authored
添加nxp_mcx的软件包索引 (#1887)
1 parent 960d100 commit 9b2901b

File tree

6 files changed

+118
-1
lines changed

6 files changed

+118
-1
lines changed

peripherals/hal-sdk/Kconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ source "$PKGS_DIR/packages/peripherals/mm32/Kconfig"
1414
source "$PKGS_DIR/packages/peripherals/hal-sdk/wch/Kconfig"
1515
source "$PKGS_DIR/packages/peripherals/hal-sdk/at32/Kconfig"
1616
source "$PKGS_DIR/packages/peripherals/hal-sdk/hc32/Kconfig"
17-
17+
source "$PKGS_DIR/packages/peripherals/hal-sdk/nxp/Kconfig"
1818
endmenu

peripherals/hal-sdk/nxp/Kconfig

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
menu "NXP HAL & SDK Drivers"
2+
3+
# nxp-mcx
4+
source "$PKGS_DIR/packages/peripherals/hal-sdk/nxp/nxp-mcx-cmsis/Kconfig"
5+
source "$PKGS_DIR/packages/peripherals/hal-sdk/nxp/nxp-mcx-series/Kconfig"
6+
7+
endmenu
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
2+
# Kconfig file for package nxp_mcx_cmsis_driver
3+
menuconfig PKG_USING_NXP_MCX_CMSIS_DRIVER
4+
bool "NXP MCX CMSIS DRIVER PACKAGE"
5+
default n
6+
7+
if PKG_USING_NXP_MCX_CMSIS_DRIVER
8+
9+
config PKG_NXP_MCX_CMSIS_DRIVER_PATH
10+
string
11+
default "/packages/peripherals/hal-sdk/nxp/nxp-mcx-cmsis"
12+
13+
choice
14+
prompt "Version"
15+
help
16+
Select the package version
17+
18+
config PKG_USING_NXP_MCX_CMSIS_DRIVER_LATEST_VERSION
19+
bool "latest"
20+
endchoice
21+
22+
config PKG_NXP_MCX_CMSIS_DRIVER_VER
23+
string
24+
default "latest" if PKG_USING_NXP_MCX_CMSIS_DRIVER_LATEST_VERSION
25+
26+
endif
27+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"name": "nxp-mcx-cmsis",
3+
"description": "NXP MCX CMSIS DRIVER PACKAGE",
4+
"description_zh": "NXP MCX CMSIS 驱动包",
5+
"enable": "PKG_USING_NXP_MCX_CMSIS_DRIVER",
6+
"keywords": [
7+
"nxp-mcx-cmsis"
8+
],
9+
"category": "peripherals",
10+
"author": {
11+
"name": "RT-Thread-packages",
12+
"email": "package_team@rt-thread.com",
13+
"github": "RT-Thread-packages"
14+
},
15+
"license": "Apache-2.0",
16+
"repository": "https://github.com/RT-Thread-packages/nxp-mcx-cmsis",
17+
"icon": "unknown",
18+
"homepage": "https://github.com/RT-Thread-packages/nxp-mcx-cmsis#readme",
19+
"doc": "unknown",
20+
"site": [
21+
{
22+
"version": "latest",
23+
"URL": "https://github.com/RT-Thread-packages/nxp-mcx-cmsis.git",
24+
"filename": "",
25+
"VER_SHA": "master"
26+
}
27+
]
28+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
2+
# Kconfig file for package nxp_mcx_series_driver
3+
menuconfig PKG_USING_NXP_MCX_SERIES_DRIVER
4+
bool "NXP MCX SERIES DRIVER PACKAGE"
5+
default n
6+
7+
if PKG_USING_NXP_MCX_SERIES_DRIVER
8+
9+
config PKG_NXP_MCX_SERIES_DRIVER_PATH
10+
string
11+
default "/packages/peripherals/hal-sdk/nxp/nxp-mcx-series"
12+
13+
choice
14+
prompt "Version"
15+
help
16+
Select the package version
17+
18+
config PKG_USING_NXP_MCX_SERIES_DRIVER_LATEST_VERSION
19+
bool "latest"
20+
endchoice
21+
22+
config PKG_NXP_MCX_SERIES_DRIVER_VER
23+
string
24+
default "latest" if PKG_USING_NXP_MCX_SERIES_DRIVER_LATEST_VERSION
25+
26+
endif
27+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"name": "nxp-mcx-series",
3+
"description": "NXP MCX SERIES DRIVER PACKAGE",
4+
"description_zh": "NXP MCX SERIES 驱动包",
5+
"enable": "PKG_USING_NXP_MCX_SERIES_DRIVER",
6+
"keywords": [
7+
"nxp-mcx-series"
8+
],
9+
"category": "peripherals",
10+
"author": {
11+
"name": "RT-Thread-packages",
12+
"email": "package_team@rt-thread.com",
13+
"github": "RT-Thread-packages"
14+
},
15+
"license": "Apache-2.0",
16+
"repository": "https://github.com/RT-Thread-packages/nxp-mcx-series",
17+
"icon": "unknown",
18+
"homepage": "https://github.com/RT-Thread-packages/nxp-mcx-series#readme",
19+
"doc": "unknown",
20+
"site": [
21+
{
22+
"version": "latest",
23+
"URL": "https://github.com/RT-Thread-packages/nxp-mcx-series.git",
24+
"filename": "",
25+
"VER_SHA": "master"
26+
}
27+
]
28+
}

0 commit comments

Comments
 (0)