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
3 changes: 2 additions & 1 deletion peripherals/hal-sdk/gd32/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ menu "GD32 Drivers"
#GD32_ARM
source "$PKGS_DIR/packages/peripherals/hal-sdk/gd32/gd32-arm-cmsis/Kconfig"
source "$PKGS_DIR/packages/peripherals/hal-sdk/gd32/gd32-arm-series/Kconfig"

#GD32_RISCV
source "$PKGS_DIR/packages/peripherals/hal-sdk/gd32/gd32-riscv-series/Kconfig"
endmenu
27 changes: 27 additions & 0 deletions peripherals/hal-sdk/gd32/gd32-riscv-series/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@

# Kconfig file for package gd32_riscv_series_driver
menuconfig PKG_USING_GD32_RISCV_SERIES_DRIVER
bool "GD32 RISCV SERIES DRIVER PACKAGE"
select PKG_USING_GD32_RISCV_CMSIS_DRIVER
default n

if PKG_USING_GD32_RISCV_SERIES_DRIVER

config PKG_GD32_RISCV_SERIES_DRIVER_PATH
string
default "/packages/peripherals/hal-sdk/gd32/gd32-riscv-series"
choice
prompt "Version"
help
Select the package version

config PKG_USING_GD32_RISCV_SERIES_DRIVER_LATEST_VERSION
bool "latest"
endchoice

config PKG_GD32_RISCV_SERIES_DRIVER_VER
string
default "latest" if PKG_USING_GD32_RISCV_SERIES_DRIVER_LATEST_VERSION

endif

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