Skip to content
Open
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/gd32/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ 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"
source "$PKGS_DIR/packages/peripherals/hal-sdk/gd32/gd32vw55x-wifi/Kconfig"
endmenu
131 changes: 131 additions & 0 deletions peripherals/hal-sdk/gd32/gd32vw55x-wifi/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
menuconfig PKG_USING_GD32VW55X_WIFI
bool "GD32VW55x WIFI DRIVER PACKAGE"
default n
select RT_USING_LWIP
select RT_USING_LIBC

if PKG_USING_GD32VW55X_WIFI

config PKG_GD32VW55X_WIFI_PATH
string
default "/packages/peripherals/hal-sdk/gd32/gd32vw55x-wifi"

config GD32VW55X_WIFI_STATION_MODE
bool "Enable Station Mode"
default y
help
Enable WIFI Station (STA) mode to connect to access points.

config GD32VW55X_WIFI_SOFTAP_MODE
bool "Enable SoftAP Mode"
default n
help
Enable WIFI SoftAP mode to act as an access point.

menu "Security Configuration"

config GD32VW55X_WIFI_WPA_SECURITY
bool "Enable WPA/WPA2 Security"
default y
help
Enable WPA and WPA2 security protocols.

config GD32VW55X_WIFI_WPA3_SECURITY
bool "Enable WPA3 Security"
default n
depends on GD32VW55X_WIFI_WPA_SECURITY
help
Enable WPA3 security protocol (SAE).

config GD32VW55X_WIFI_WPS_SUPPORT
bool "Enable WPS (Wi-Fi Protected Setup)"
default n
help
Enable WPS for easy network setup.

endmenu

menu "Advanced Configuration"

config GD32VW55X_WIFI_TASK_STACK_SIZE
int "WIFI Task Stack Size"
default 4096
range 2048 8192
help
Stack size for WIFI tasks in bytes.

config GD32VW55X_WIFI_TASK_PRIORITY
int "WIFI Task Priority"
default 10
range 1 31
help
Priority for WIFI management tasks.

config GD32VW55X_WIFI_RX_BUFFER_SIZE
int "WIFI RX Buffer Size"
default 1600
range 1024 4096
help
Receive buffer size for WIFI packets.

config GD32VW55X_WIFI_MAX_SCAN_RESULTS
int "Maximum Scan Results"
default 32
range 8 128
help
Maximum number of scan results to store.

endmenu

menu "Power Management"

config GD32VW55X_WIFI_POWER_SAVE
bool "Enable Power Save Mode"
default n
help
Enable WIFI power saving features.

if GD32VW55X_WIFI_POWER_SAVE

config GD32VW55X_WIFI_PS_DTIM_PERIOD
int "DTIM Period for Power Save"
default 3
range 1 10
help
DTIM period for power save mode.

endif

endmenu

config GD32VW55X_WIFI_DEBUG
bool "Enable WIFI Debug Output"
default n
help
Enable detailed debug output for WIFI operations.

if GD32VW55X_WIFI_DEBUG

config GD32VW55X_WIFI_DEBUG_LEVEL
int "Debug Level (0-4)"
default 2
range 0 4
help
Debug level: 0=None, 1=Error, 2=Warning, 3=Info, 4=Verbose

endif
choice
prompt "Version"
help
Select the package version

config PKG_USING_GD32VW55X_WIFI_LATEST_VERSION
bool "latest"
endchoice

config PKG_GD32VW55X_WIFI_VER
string
default "latest" if PKG_USING_GD32VW55X_WIFI_LATEST_VERSION
Comment on lines +127 to +128
Copy link

Copilot AI Jan 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The indentation on this line uses 7 spaces, which is inconsistent with the 8-space indentation used for similar config lines elsewhere in the file (e.g., line 23). Please adjust the indentation to match the rest of the file for consistency.

Suggested change
string
default "latest" if PKG_USING_GD32VW55X_WIFI_LATEST_VERSION
string
default "latest" if PKG_USING_GD32VW55X_WIFI_LATEST_VERSION

Copilot uses AI. Check for mistakes.
endif


35 changes: 35 additions & 0 deletions peripherals/hal-sdk/gd32/gd32vw55x-wifi/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"name": "gd32vw55x-wifi",
"description": "GD32VW55x WIFI driver package for RT-Thread",
"description_zh": "GD32VW55x WIFI 驱动包",
"enable": "PKG_USING_GD32VW55X_WIFI",
"keywords": [
"wifi",
"gd32",
"gd32vw55x",
"wireless",
"802.11"
],
"category": "peripherals",
"author": {
"name": "GigaDevice",
"email": "[email protected]"
},
"license": "BSD-3-Clause",
"repository": "https://github.com/RT-Thread-packages/gd32vw55x-wifi",
"icon": "unknown",
"homepage" : "https://github.com/RT-Thread-packages/gd32vw55x-wifi#readme",
Copy link

Copilot AI Jan 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is an extra space before the colon in the "homepage" field. This is inconsistent with the formatting of other fields in this file and other package.json files in the repository. Please remove the extra space to maintain consistency.

Suggested change
"homepage" : "https://github.com/RT-Thread-packages/gd32vw55x-wifi#readme",
"homepage": "https://github.com/RT-Thread-packages/gd32vw55x-wifi#readme",

Copilot uses AI. Check for mistakes.
"doc": "unknown",
"dependencies": {
"RT_USING_LWIP": ">=2.0.0",
"RT_USING_DFS": ">=1.0.0"
},
"site": [
{
"version": "latest",
"URL": "https://github.com/RT-Thread-packages/gd32vw55x-wifi.git",
"filename": "",
"VER_SHA": "master"
}
]
}
Comment on lines +1 to +35
Copy link

Copilot AI Jan 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The indentation in this file uses 4 spaces, which is inconsistent with other package.json files in the same directory (gd32-arm-cmsis, gd32-arm-series, gd32-riscv-series) that use 2-space indentation. Please update the indentation to use 2 spaces for consistency across the codebase.

Copilot uses AI. Check for mistakes.
Loading