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 @@ -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": "[email protected]",
"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": "[email protected]",
"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"
}
]
}
4 changes: 2 additions & 2 deletions peripherals/hal-sdk/hc32/Kconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
menu "HC32 DDL Drivers"

#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"
source "$PKGS_DIR/packages/peripherals/hal-sdk/hc32/hc32-f4-cmsis/Kconfig"
source "$PKGS_DIR/packages/peripherals/hal-sdk/hc32/hc32-f4-series/Kconfig"

endmenu
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if PKG_USING_HC32F4_CMSIS_DRIVER

config PKG_HC32F4_CMSIS_DRIVER_PATH
string
default "/packages/peripherals/hal-sdk/hc32/hc32_f4_cmsis"
default "/packages/peripherals/hal-sdk/hc32/hc32-f4-cmsis"

choice
prompt "Version"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ if PKG_USING_HC32F4_SERIES_DRIVER

config PKG_HC32F4_SERIES_DRIVER_PATH
string
default "/packages/peripherals/hal-sdk/hc32/hc32_f4_series"
default "/packages/peripherals/hal-sdk/hc32/hc32-f4-series"

choice
prompt "Version"
Expand Down
6 changes: 3 additions & 3 deletions peripherals/hal-sdk/nuvoton/Kconfig
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
menu "NUVOTON Drivers"

#nuvoton
source "$PKGS_DIR/packages/peripherals/hal-sdk/nuvoton/nuvoton_cmsis/Kconfig"
source "$PKGS_DIR/packages/peripherals/hal-sdk/nuvoton/nuvoton_series/Kconfig"
source "$PKGS_DIR/packages/peripherals/hal-sdk/nuvoton/nuvoton-cmsis/Kconfig"
source "$PKGS_DIR/packages/peripherals/hal-sdk/nuvoton/nuvoton-series/Kconfig"

#nuvoton-arm926
source "$PKGS_DIR/packages/peripherals/hal-sdk/nuvoton/nuvoton_arm926_lib/Kconfig"
source "$PKGS_DIR/packages/peripherals/hal-sdk/nuvoton/nuvoton-arm926-lib/Kconfig"

endmenu
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if PKG_USING_NUVOTON_ARM926_LIB

config PKG_NUVOTON_ARM926_LIB_PATH
string
default "/packages/peripherals/hal-sdk/nuvoton/nuvoton_arm926_lib"
default "/packages/peripherals/hal-sdk/nuvoton/nuvoton-arm926-lib"

choice
prompt "Version"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if PKG_USING_NUVOTON_CMSIS_DRIVER

config PKG_NUVOTON_CMSIS_DRIVER_PATH
string
default "/packages/peripherals/hal-sdk/nuvoton/nuvoton_cmsis"
default "/packages/peripherals/hal-sdk/nuvoton/nuvoton-cmsis"

choice
prompt "Version"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ if PKG_USING_NUVOTON_SERIES_DRIVER

config PKG_NUVOTON_SERIES_DRIVER_PATH
string
default "/packages/peripherals/hal-sdk/nuvoton/nuvoton_series"
default "/packages/peripherals/hal-sdk/nuvoton/nuvoton-series"

choice
prompt "Version"
Expand Down
Loading