-
Notifications
You must be signed in to change notification settings - Fork 350
add gd32vw55x-wifi #1949
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
add gd32vw55x-wifi #1949
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| 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 | ||
| endif | ||
|
|
||
|
|
||
| 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", | ||||||
|
||||||
| "homepage" : "https://github.com/RT-Thread-packages/gd32vw55x-wifi#readme", | |
| "homepage": "https://github.com/RT-Thread-packages/gd32vw55x-wifi#readme", |
Copilot
AI
Jan 14, 2026
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.