Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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 @@ -16,4 +16,5 @@ source "$PKGS_DIR/packages/peripherals/hal-sdk/at32/Kconfig"
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"
endmenu
7 changes: 7 additions & 0 deletions peripherals/hal-sdk/gd32/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
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"

endmenu
27 changes: 27 additions & 0 deletions peripherals/hal-sdk/gd32/gd32-arm-cmsis/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@

# Kconfig file for package gd32_arm_cmsis_driver
menuconfig PKG_USING_GD32_ARM_CMSIS_DRIVER
bool "GD32 ARM CMSIS DRIVER PACKAGE"
default n

if PKG_USING_GD32_ARM_CMSIS_DRIVER

config PKG_GD32_ARM_CMSIS_DRIVER_PATH
string
default "/packages/peripherals/hal-sdk/gd32/gd32-arm-cmsis"

choice
prompt "Version"
help
Select the package version

config PKG_USING_GD32_ARM_CMSIS_DRIVER_LATEST_VERSION
bool "latest"
endchoice

config PKG_GD32_ARM_CMSIS_DRIVER_VER
string
default "latest" if PKG_USING_GD32_ARM_CMSIS_DRIVER_LATEST_VERSION

endif

28 changes: 28 additions & 0 deletions peripherals/hal-sdk/gd32/gd32-arm-cmsis/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"name": "gd32-arm-cmsis",
"description": "GD32 ARM CMSIS DRIVER PACKAGE",
"description_zh": "GD32 ARM CMSIS 驱动包",
"enable": "PKG_USING_GD32_ARM_CMSIS_DRIVER",
"keywords": [
"gd32-arm-cmsis"
],
"category": "peripherals",
"author": {
"name": "RT-Thread-packages",
"email": "package_team@rt-thread.com",
"github": "RT-Thread-packages"
},
"license": "Apache-2.0",
"repository": "https://github.com/RT-Thread-packages/gd32-arm-cmsis",
"icon": "unknown",
"homepage": "https://github.com/RT-Thread-packages/gd32-arm-cmsis#readme",
"doc": "unknown",
"site": [
{
"version": "latest",
"URL": "https://github.com/RT-Thread-packages/gd32-arm-cmsis.git",
"filename": "",
"VER_SHA": "master"
}
]
}
28 changes: 28 additions & 0 deletions peripherals/hal-sdk/gd32/gd32-arm-series/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@

# Kconfig file for package gd32_arm_series_driver
menuconfig PKG_USING_GD32_ARM_SERIES_DRIVER
bool "GD32 ARM SERIES DRIVER PACKAGE"
select PKG_USING_GD32_ARM_CMSIS_DRIVER
default n

if PKG_USING_GD32_ARM_SERIES_DRIVER

config PKG_GD32_ARM_SERIES_DRIVER_PATH
string
default "/packages/peripherals/hal-sdk/gd32/gd32-arm-series"

choice
prompt "Version"
help
Select the package version

config PKG_USING_GD32_ARM_SERIES_DRIVER_LATEST_VERSION
bool "latest"
endchoice

config PKG_GD32_ARM_SERIES_DRIVER_VER
string
default "latest" if PKG_USING_GD32_ARM_SERIES_DRIVER_LATEST_VERSION

endif

28 changes: 28 additions & 0 deletions peripherals/hal-sdk/gd32/gd32-arm-series/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"name": "gd32-arm-series",
"description": "GD32 ARM SERIES DRIVER PACKAGE",
"description_zh": "GD32 ARM SERIES 驱动包",
"enable": "PKG_USING_GD32_ARM_SERIES_DRIVER",
"keywords": [
"gd32-arm-series"
],
"category": "peripherals",
"author": {
"name": "RT-Thread-packages",
"email": "package_team@rt-thread.com",
"github": "RT-Thread-packages"
},
"license": "Apache-2.0",
"repository": "https://github.com/RT-Thread-packages/gd32-arm-series",
"icon": "unknown",
"homepage": "https://github.com/RT-Thread-packages/gd32-arm-series#readme",
"doc": "unknown",
"site": [
{
"version": "latest",
"URL": "https://github.com/RT-Thread-packages/gd32-arm-series.git",
"filename": "",
"VER_SHA": "master"
}
]
}
Loading