编译例程pipeline_bt_source失败,求解决

HuangHongHao
Posts: 1
Joined: Fri Jun 24, 2022 6:33 am

编译例程pipeline_bt_source失败,求解决

Postby HuangHongHao » Fri Jun 24, 2022 8:30 am

编译其他ADF库里的例程没有问题,就这个会出错,初步分析是ADF库里调用了IDF库的函数,但是找不到,不知道要怎么将它们关联起来,以下是编译报告:
C:/Users/HUANG/esp/esp-adf/components/esp_peripherals/lib/blufi/wifibleconfig.c: In function 'wifi_ble_event_callback':
C:/Users/HUANG/esp/esp-adf/components/esp_peripherals/lib/blufi/wifibleconfig.c:181:13: error: implicit declaration of function 'esp_blufi_close'; did you mean 'esp_wifi_stop'? [-Werror=implicit-function-declaration]
esp_blufi_close(g_wifi_ble_config->ble_server_if, g_wifi_ble_config->ble_conn_id);
^~~~~~~~~~~~~~~
esp_wifi_stop
cc1.exe: some warnings being treated as errors
[1357/1430] Building C object esp-idf/battery_service/CMakeFiles/__idf_battery_service.dir/battery_service.c.obj
C:/Users/HUANG/esp/esp-adf/components/battery_service/battery_service.c: In function 'battery_task':
C:/Users/HUANG/esp/esp-adf/components/battery_service/battery_service.c:122:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
service->running = false;
^
C:/Users/HUANG/esp/esp-adf/components/battery_service/battery_service.c:124:17: note: here
case BATTERY_SERVICE_STOP: {
^~~~
[1367/1430] Building C object esp-idf/input_key_service/CMakeFiles/__idf_input_key_service.dir/input_key_service.c.obj
ninja: build stopped: subcommand failed.
终端进程“C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -Command ninja ”已终止,退出代码: 1。
微信图片_20220624162911.png
微信图片_20220624162911.png (63.3 KiB) Viewed 1856 times

ESP_HengYC
Posts: 184
Joined: Fri Dec 15, 2017 2:45 am

Re: 编译例程pipeline_bt_source失败,求解决

Postby ESP_HengYC » Tue Jul 19, 2022 11:57 am

这个大概是你是的  ble 的 blufi function 没有打开, 这个在 menuconfig 下面你可以找到它, enable 即可

Who is online

Users browsing this forum: No registered users and 27 guests