Skip to content

Commit 2329755

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

3 files changed

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