Skip to content
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
1 change: 1 addition & 0 deletions peripherals/hal-sdk/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ source "$PKGS_DIR/packages/peripherals/hal-sdk/hc32/Kconfig"
source "$PKGS_DIR/packages/peripherals/hal-sdk/nxp/Kconfig"
source "$PKGS_DIR/packages/peripherals/hal-sdk/nuvoton/Kconfig"
source "$PKGS_DIR/packages/peripherals/hal-sdk/gd32/Kconfig"
source "$PKGS_DIR/packages/peripherals/hal-sdk/hpmicro/Kconfig"
endmenu
5 changes: 5 additions & 0 deletions peripherals/hal-sdk/hpmicro/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
menu "HPMicro SDK"

source "$PKGS_DIR/packages/peripherals/hal-sdk/hpmicro/hpm_sdk/Kconfig"

endmenu
31 changes: 31 additions & 0 deletions peripherals/hal-sdk/hpmicro/hpm_sdk/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@

# Kconfig file for package hpm_sdk
menuconfig PKG_USING_HPM_SDK
bool "HPM_SDK"
default n

if PKG_USING_HPM_SDK

config PKG_HPM_SDK_PATH
string
default "/packages/peripherals/hal-sdk/hpmicro/hpm_sdk"

choice
prompt "Version"
help
Select the package version

config PKG_USING_HPM_SDK_V110
bool "v1.10.0"

config PKG_USING_HPM_SDK_LATEST_VERSION
bool "latest"
endchoice

config PKG_HPM_SDK_VER
string
default "v1.10.0" if PKG_USING_HPM_SDK_V110
default "latest" if PKG_USING_HPM_SDK_LATEST_VERSION

endif

33 changes: 33 additions & 0 deletions peripherals/hal-sdk/hpmicro/hpm_sdk/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"name": "hpm_sdk",
"description": "hpm_sdk for rt-thread",
"description_zh": "hpm_sdk for rt-thread",
"enable": "PKG_USING_HPM_SDK",
"keywords": [
"hpm_sdk"
],
"category": "peripherals",
"author": {
"name": "hpmicro",
"email": "[email protected]",
"github": "hpmicro"
},
"license": "BSD-3-Clause",
"repository": "https://github.com/hpmicro/rtt-pkg-hpm-sdk",
"icon": "unknown",
"homepage": "https://github.com/hpmicro/rtt-pkg-hpm-sdk#readme",
"doc": "unknown",
"site": [
{
"version": "v1.10.0",
"URL": "https://github.com/hpmicro/rtt-pkg-hpm-sdk/archive/refs/tags/v1.10.0.zip",
"filename": "hpm_sdk-for-rtt-v1.10.0.zip"
},
{
"version": "latest",
"URL": "https://github.com/hpmicro/rtt-pkg-hpm-sdk.git",
"filename": "",
"VER_SHA": "main"
}
]
}
Loading