T5 SDK 3.6.1在自己添加的c文件中调用SDK接口编译报错

Wi-Fi 设备、Wi-Fi 低功耗设备、Wi-Fi BLE 双模设备、Ethernet设备、Ethernet+Wi-Fi设备等
Post Reply
Robertz
Posts: 119

我是在TUYAOS目录下新建了一个文件夹,在路径·t5_sdk_rel/software/TuyaOS/rtos-kit/app/lib/app_manager/scene/manager_scene_home.c中调用tkl_wifi_station_disconnect() 断开网络连接和 tkl_wifi_station_get_status()获取当前网络状态这两个函数。编译时报错,
报错内容是
undefined reference to etharp_remove_all_static'
undefined reference to
bk_wifi_sta_stop'
undefined reference to `bk_wifi_sta_get_linkstate_with_reason',
工程用Cmake编译

Attachments
企业微信截图_17252675637300.png
企业微信截图_17252675462035.png

Tags:
Robertz
Posts: 119

Re: T5 SDK 3.6.1在自己添加的c文件中调用SDK接口编译报错

好的,谢谢!

Post Reply