Skip to content

Commit

Permalink
add wlan_bl808 (#1678)
Browse files Browse the repository at this point in the history
  • Loading branch information
flyingcys authored Nov 20, 2023
1 parent bb7c82e commit c5ab82d
Show file tree
Hide file tree
Showing 3 changed files with 82 additions and 0 deletions.
1 change: 1 addition & 0 deletions iot/WiFi/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
source "$PKGS_DIR/packages/iot/WiFi/wlan_wiced/Kconfig"
source "$PKGS_DIR/packages/iot/WiFi/rw007/Kconfig"
source "$PKGS_DIR/packages/iot/WiFi/wlan_cyw43012/Kconfig"
source "$PKGS_DIR/packages/iot/WiFi/wlan_bl808/Kconfig"

endmenu

47 changes: 47 additions & 0 deletions iot/WiFi/wlan_bl808/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@

menu "BL808 WiFi"

menuconfig PKG_USING_WLAN_BL808
bool "BL808 WiFi driver for rt-thread"
select RT_USING_LWIP
select RT_USING_WIFI
select RT_USING_SYSTEM_WORKQUEUE
select PKG_USING_MBEDTLS
default n
help
if "PKG_USING_WLAN_BL808" is opened, "RT_USING_LWIP" will be default selected.

if PKG_USING_WLAN_BL808

config PKG_WLAN_BL808_PATH
string
default "/packages/iot/WiFi/wlan_bl808"

choice
prompt "version"
default PKG_USING_WLAN_BL808_LATEST_VERSION
help
Select the BL808 wifi version

config PKG_USING_WLAN_BL808_LATEST_VERSION
bool "latest"

config PKG_USING_WLAN_BL808_V001
bool "v0.0.1"
endchoice

if PKG_USING_WLAN_BL808_V001
config PKG_WLAN_BL808_VER
string
default "v0.0.1"
endif

if PKG_USING_WLAN_BL808_LATEST_VERSION
config PKG_WLAN_BL808_VER
string
default "latest"
endif

endif

endmenu
34 changes: 34 additions & 0 deletions iot/WiFi/wlan_bl808/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"name": "wlan_bl808",
"description": "wlan driver from BL808",
"description_zh": "BL808 的 wlan 驱动",
"enable": "PKG_USING_WLAN_BL808",
"keywords": [
"bl808"
],
"category": "iot/WiFi",
"author": {
"name": "flyingcys",
"email": "[email protected]",
"github": "flyingcys"
},
"license": "Apache-2.0",
"repository": "https://github.com/flyingcys/wlan_bl808_rtthread",
"icon": "unknown",
"homepage": "https://github.com/flyingcys/wlan_bl808_rtthread#readme",
"readme": "wlan driver from bl808.",
"site": [
{
"version": "v0.0.1",
"URL": "https://github.com/flyingcys/wlan_bl808_rtthread/archive/0.0.1.zip",
"filename": "wlan_bl808_rtthread-0.0.1.zip",
"VER_SHA": "NULL"
},
{
"version": "latest",
"URL": "https://github.com/flyingcys/wlan_bl808_rtthread.git",
"filename": "wlan_bl808_rtthread.zip",
"VER_SHA": "main"
}
]
}

0 comments on commit c5ab82d

Please sign in to comment.