46498d5d1e
- WLAN 连接信息保存功能可裁剪 - WIFI MSH 命令功能可裁剪 - WLAN 管理功能可裁剪 - WLAN 自动连接功能可裁剪 - WLAN 自动连接时使用最新热点信息 - WLAN 用户事件回调由独立线程调用 - WLAN 独立线程可裁剪 - WLAN 协议管理功能可裁剪 - LWIP 协议层可裁剪 - SCAN 结果支持过滤 - WIFI 阻塞式连接支持多次扫描 - WLAN 新增网卡对象指针 - WLAN 获取信息时更新信号强度 - 其他优化性质改动
31 lines
645 B
Python
31 lines
645 B
Python
from building import *
|
|
|
|
cwd = GetCurrentDir()
|
|
CPPPATH = [cwd]
|
|
|
|
src = Split('''
|
|
wlan_dev.c
|
|
''')
|
|
|
|
if GetDepend(['RT_WLAN_MANAGE_ENABLE']):
|
|
src += ['wlan_mgnt.c']
|
|
|
|
if GetDepend(['RT_WLAN_MSH_CMD_ENABLE']):
|
|
src += ['wlan_cmd.c']
|
|
|
|
if GetDepend(['RT_WLAN_PROT_ENABLE']):
|
|
src += ['wlan_prot.c']
|
|
|
|
if GetDepend(['RT_WLAN_PROT_LWIP_ENABLE']):
|
|
src += ['wlan_lwip.c']
|
|
|
|
if GetDepend(['RT_WLAN_CFG_ENABLE']):
|
|
src += ['wlan_cfg.c']
|
|
|
|
if GetDepend(['RT_WLAN_WORK_THREAD_ENABLE']):
|
|
src += ['wlan_workqueue.c']
|
|
|
|
group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_WIFI'], CPPPATH = CPPPATH)
|
|
|
|
Return('group')
|