diff --git a/iot/WiFi/Kconfig b/iot/WiFi/Kconfig index 49f994ddee..f8ee4be4a5 100644 --- a/iot/WiFi/Kconfig +++ b/iot/WiFi/Kconfig @@ -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 diff --git a/iot/WiFi/wlan_bl808/Kconfig b/iot/WiFi/wlan_bl808/Kconfig new file mode 100644 index 0000000000..aad359acea --- /dev/null +++ b/iot/WiFi/wlan_bl808/Kconfig @@ -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 diff --git a/iot/WiFi/wlan_bl808/package.json b/iot/WiFi/wlan_bl808/package.json new file mode 100644 index 0000000000..e911f2def4 --- /dev/null +++ b/iot/WiFi/wlan_bl808/package.json @@ -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": "flyingcys@163.com", + "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" + } + ] +}