-
Notifications
You must be signed in to change notification settings - Fork 351
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
Merged
Merged
add gd32vw55x-wifi #1949
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 | ||
|
|
||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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": "support@gigadevice.com" | ||
| }, | ||
| "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", | ||
| "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" | ||
| } | ||
| ] | ||
| } | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.