Skip to content

Commit 7117818

Browse files
helloeagleyangRbb666
authored andcommitted
[feat] add the hpm_sdk online package
- added the hpm_sdk online package Signed-off-by: Fan YANG <[email protected]>
1 parent 2ea115c commit 7117818

File tree

4 files changed

+70
-0
lines changed

4 files changed

+70
-0
lines changed

peripherals/hal-sdk/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@ source "$PKGS_DIR/packages/peripherals/hal-sdk/hc32/Kconfig"
1818
source "$PKGS_DIR/packages/peripherals/hal-sdk/nxp/Kconfig"
1919
source "$PKGS_DIR/packages/peripherals/hal-sdk/nuvoton/Kconfig"
2020
source "$PKGS_DIR/packages/peripherals/hal-sdk/gd32/Kconfig"
21+
source "$PKGS_DIR/packages/peripherals/hal-sdk/hpmicro/Kconfig"
2122
endmenu
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
menu "HPMicro SDK"
2+
3+
source "$PKGS_DIR/packages/peripherals/hal-sdk/hpmicro/hpm_sdk/Kconfig"
4+
5+
endmenu
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
2+
# Kconfig file for package hpm_sdk
3+
menuconfig PKG_USING_HPM_SDK
4+
bool "HPM_SDK"
5+
default n
6+
7+
if PKG_USING_HPM_SDK
8+
9+
config PKG_HPM_SDK_PATH
10+
string
11+
default "/packages/peripherals/hal-sdk/hpmicro/hpm_sdk"
12+
13+
choice
14+
prompt "Version"
15+
help
16+
Select the package version
17+
18+
config PKG_USING_HPM_SDK_V110
19+
bool "v1.10.0"
20+
21+
config PKG_USING_HPM_SDK_LATEST_VERSION
22+
bool "latest"
23+
endchoice
24+
25+
config PKG_HPM_SDK_VER
26+
string
27+
default "v1.10.0" if PKG_USING_HPM_SDK_V110
28+
default "latest" if PKG_USING_HPM_SDK_LATEST_VERSION
29+
30+
endif
31+
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"name": "hpm_sdk",
3+
"description": "hpm_sdk for rt-thread",
4+
"description_zh": "hpm_sdk for rt-thread",
5+
"enable": "PKG_USING_HPM_SDK",
6+
"keywords": [
7+
"hpm_sdk"
8+
],
9+
"category": "peripherals",
10+
"author": {
11+
"name": "hpmicro",
12+
"email": "[email protected]",
13+
"github": "hpmicro"
14+
},
15+
"license": "BSD-3-Clause",
16+
"repository": "https://github.com/hpmicro/rtt-pkg-hpm-sdk",
17+
"icon": "unknown",
18+
"homepage": "https://github.com/hpmicro/rtt-pkg-hpm-sdk#readme",
19+
"doc": "unknown",
20+
"site": [
21+
{
22+
"version": "v1.10.0",
23+
"URL": "https://github.com/hpmicro/rtt-pkg-hpm-sdk/archive/refs/tags/v1.10.0.zip",
24+
"filename": "hpm_sdk-for-rtt-v1.10.0.zip"
25+
},
26+
{
27+
"version": "latest",
28+
"URL": "https://github.com/hpmicro/rtt-pkg-hpm-sdk.git",
29+
"filename": "",
30+
"VER_SHA": "main"
31+
}
32+
]
33+
}

0 commit comments

Comments
 (0)