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
4 changes: 4 additions & 0 deletions peripherals/hal-sdk/hc32/Kconfig
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
menu "HC32 DDL Drivers"

#HC32F3
source "$PKGS_DIR/packages/peripherals/hal-sdk/hc32/hc32-f3-cmsis/Kconfig"
source "$PKGS_DIR/packages/peripherals/hal-sdk/hc32/hc32-f3-series/Kconfig"

#HC32F4
source "$PKGS_DIR/packages/peripherals/hal-sdk/hc32/hc32-f4-cmsis/Kconfig"
source "$PKGS_DIR/packages/peripherals/hal-sdk/hc32/hc32-f4-series/Kconfig"
Expand Down
27 changes: 27 additions & 0 deletions peripherals/hal-sdk/hc32/hc32-f3-cmsis/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@

# Kconfig file for package HC32F3_cmsis_driver
menuconfig PKG_USING_HC32F3_CMSIS_DRIVER
bool "HC32F3 CMSIS DRIVER PACKAGE"
default n

if PKG_USING_HC32F3_CMSIS_DRIVER

config PKG_HC32F3_CMSIS_DRIVER_PATH
string
default "/packages/peripherals/hal-sdk/hc32/hc32-f3-cmsis"

choice
prompt "Version"
help
Select the package version

config PKG_USING_HC32F3_CMSIS_DRIVER_LATEST_VERSION
bool "latest"
endchoice

config PKG_HC32F3_CMSIS_DRIVER_VER
string
default "latest" if PKG_USING_HC32F3_CMSIS_DRIVER_LATEST_VERSION

endif

28 changes: 28 additions & 0 deletions peripherals/hal-sdk/hc32/hc32-f3-cmsis/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"name": "hc32-f3-cmsis",
"description": "HC32F3 CMSIS DRIVER PACKAGE",
"description_zh": "HC32F3 CMSIS 驱动包",
"enable": "PKG_USING_HC32F3_CMSIS_DRIVER",
"keywords": [
"hc32-f3-cmsis"
],
"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/hc32-f3-cmsis",
"icon": "unknown",
"homepage": "https://github.com/RT-Thread-packages/hc32-f3-cmsis#readme",
"doc": "unknown",
"site": [
{
"version": "latest",
"URL": "https://github.com/RT-Thread-packages/hc32-f3-cmsis.git",
"filename": "",
"VER_SHA": "master"
}
]
}
28 changes: 28 additions & 0 deletions peripherals/hal-sdk/hc32/hc32-f3-series/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@

# Kconfig file for package hc32f3_series_driver
menuconfig PKG_USING_HC32F3_SERIES_DRIVER
bool "HC32F3 SERIES DRIVER PACKAGE"
select PKG_USING_HC32F3_CMSIS_DRIVER
default n

if PKG_USING_HC32F3_SERIES_DRIVER

config PKG_HC32F3_SERIES_DRIVER_PATH
string
default "/packages/peripherals/hal-sdk/hc32/hc32-f3-series"

choice
prompt "Version"
help
Select the package version

config PKG_USING_HC32F3_SERIES_DRIVER_LATEST_VERSION
bool "latest"
endchoice

config PKG_HC32F3_SERIES_DRIVER_VER
string
default "latest" if PKG_USING_HC32F3_SERIES_DRIVER_LATEST_VERSION

endif

28 changes: 28 additions & 0 deletions peripherals/hal-sdk/hc32/hc32-f3-series/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"name": "hc32-f3-series",
"description": "HC32F3 SERIES DRIVER PACKAGE",
"description_zh": "HC32F3 SERIES 驱动包",
"enable": "PKG_USING_HC32F3_SERIES_DRIVER",
"keywords": [
"hc32-f3-series"
],
"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/hc32-f3-series",
"icon": "unknown",
"homepage": "https://github.com/RT-Thread-packages/hc32-f3-series#readme",
"doc": "unknown",
"site": [
{
"version": "latest",
"URL": "https://github.com/RT-Thread-packages/hc32-f3-series.git",
"filename": "",
"VER_SHA": "master"
}
]
}
Loading