Skip to content

Commit 3a705fd

Browse files
committed
add gd32vw55x-wifi
1 parent 585086e commit 3a705fd

3 files changed

Lines changed: 167 additions & 0 deletions

File tree

peripherals/hal-sdk/gd32/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ source "$PKGS_DIR/packages/peripherals/hal-sdk/gd32/gd32-arm-cmsis/Kconfig"
55
source "$PKGS_DIR/packages/peripherals/hal-sdk/gd32/gd32-arm-series/Kconfig"
66
#GD32_RISCV
77
source "$PKGS_DIR/packages/peripherals/hal-sdk/gd32/gd32-riscv-series/Kconfig"
8+
source "$PKGS_DIR/packages/peripherals/hal-sdk/gd32/gd32vw55x-wifi/Kconfig"
89
endmenu
Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
menuconfig PKG_USING_GD32VW55X_WIFI
2+
bool "GD32VW55x WIFI DRIVER PACKAGE"
3+
default n
4+
select RT_USING_LWIP
5+
select RT_USING_LIBC
6+
7+
if PKG_USING_GD32VW55X_WIFI
8+
9+
config PKG_GD32VW55X_WIFI_PATH
10+
string
11+
default "/packages/peripherals/hal-sdk/gd32/gd32vw55x-wifi"
12+
13+
config GD32VW55X_WIFI_STATION_MODE
14+
bool "Enable Station Mode"
15+
default y
16+
help
17+
Enable WIFI Station (STA) mode to connect to access points.
18+
19+
config GD32VW55X_WIFI_SOFTAP_MODE
20+
bool "Enable SoftAP Mode"
21+
default n
22+
help
23+
Enable WIFI SoftAP mode to act as an access point.
24+
25+
menu "Security Configuration"
26+
27+
config GD32VW55X_WIFI_WPA_SECURITY
28+
bool "Enable WPA/WPA2 Security"
29+
default y
30+
help
31+
Enable WPA and WPA2 security protocols.
32+
33+
config GD32VW55X_WIFI_WPA3_SECURITY
34+
bool "Enable WPA3 Security"
35+
default n
36+
depends on GD32VW55X_WIFI_WPA_SECURITY
37+
help
38+
Enable WPA3 security protocol (SAE).
39+
40+
config GD32VW55X_WIFI_WPS_SUPPORT
41+
bool "Enable WPS (Wi-Fi Protected Setup)"
42+
default n
43+
help
44+
Enable WPS for easy network setup.
45+
46+
endmenu
47+
48+
menu "Advanced Configuration"
49+
50+
config GD32VW55X_WIFI_TASK_STACK_SIZE
51+
int "WIFI Task Stack Size"
52+
default 4096
53+
range 2048 8192
54+
help
55+
Stack size for WIFI tasks in bytes.
56+
57+
config GD32VW55X_WIFI_TASK_PRIORITY
58+
int "WIFI Task Priority"
59+
default 10
60+
range 1 31
61+
help
62+
Priority for WIFI management tasks.
63+
64+
config GD32VW55X_WIFI_RX_BUFFER_SIZE
65+
int "WIFI RX Buffer Size"
66+
default 1600
67+
range 1024 4096
68+
help
69+
Receive buffer size for WIFI packets.
70+
71+
config GD32VW55X_WIFI_MAX_SCAN_RESULTS
72+
int "Maximum Scan Results"
73+
default 32
74+
range 8 128
75+
help
76+
Maximum number of scan results to store.
77+
78+
endmenu
79+
80+
menu "Power Management"
81+
82+
config GD32VW55X_WIFI_POWER_SAVE
83+
bool "Enable Power Save Mode"
84+
default n
85+
help
86+
Enable WIFI power saving features.
87+
88+
if GD32VW55X_WIFI_POWER_SAVE
89+
90+
config GD32VW55X_WIFI_PS_DTIM_PERIOD
91+
int "DTIM Period for Power Save"
92+
default 3
93+
range 1 10
94+
help
95+
DTIM period for power save mode.
96+
97+
endif
98+
99+
endmenu
100+
101+
config GD32VW55X_WIFI_DEBUG
102+
bool "Enable WIFI Debug Output"
103+
default n
104+
help
105+
Enable detailed debug output for WIFI operations.
106+
107+
if GD32VW55X_WIFI_DEBUG
108+
109+
config GD32VW55X_WIFI_DEBUG_LEVEL
110+
int "Debug Level (0-4)"
111+
default 2
112+
range 0 4
113+
help
114+
Debug level: 0=None, 1=Error, 2=Warning, 3=Info, 4=Verbose
115+
116+
endif
117+
choice
118+
prompt "Version"
119+
help
120+
Select the package version
121+
122+
config PKG_USING_GD32VW55X_WIFI_LATEST_VERSION
123+
bool "latest"
124+
endchoice
125+
126+
config PKG_GD32VW55X_WIFI_VER
127+
string
128+
default "latest" if PKG_USING_GD32VW55X_WIFI_LATEST_VERSION
129+
endif
130+
131+
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"name": "gd32vw55x-wifi",
3+
"description": "GD32VW55x WIFI driver package for RT-Thread",
4+
"description_zh": "GD32VW55x WIFI 驱动包",
5+
"enable": "PKG_USING_GD32VW55X_WIFI",
6+
"keywords": [
7+
"wifi",
8+
"gd32",
9+
"gd32vw55x",
10+
"wireless",
11+
"802.11"
12+
],
13+
"category": "peripherals",
14+
"author": {
15+
"name": "GigaDevice",
16+
"email": "support@gigadevice.com"
17+
},
18+
"license": "BSD-3-Clause",
19+
"repository": "https://github.com/RT-Thread-packages/gd32vw55x-wifi",
20+
"icon": "unknown",
21+
"homepage" : "https://github.com/RT-Thread-packages/gd32vw55x-wifi#readme",
22+
"doc": "unknown",
23+
"dependencies": {
24+
"RT_USING_LWIP": ">=2.0.0",
25+
"RT_USING_DFS": ">=1.0.0"
26+
},
27+
"site": [
28+
{
29+
"version": "latest",
30+
"URL": "https://github.com/RT-Thread-packages/gd32vw55x-wifi.git",
31+
"filename": "",
32+
"VER_SHA": "master"
33+
}
34+
]
35+
}

0 commit comments

Comments
 (0)