esp-qcloud
esp-qcloud copied to clipboard
esp32c3 Build Error esp_blufi_close [-Werror=implicit-function-declaration]
/home/sky/esp/prj/esp-qcloud/src/provisioning/esp_qcloud_prov_ble.c: In function 'ble_event_callback': /home/sky/esp/prj/esp-qcloud/src/provisioning/esp_qcloud_prov_ble.c:208:9: error: implicit declaration of function 'esp_blufi_close'; did you mean 'esp_wifi_stop'? [-Werror=implicit-function-declaration] esp_blufi_close(server_if, conn_id); ^~~~~~~~~~~~~~~ esp_wifi_stop cc1: some warnings being treated as errors [1277/1305] Building C object esp-idf/esp-qcloud/CMakeFile...esp-qcloud.dir/src/provisioning/qrcode/src/qrcodegen.c.obj ninja: build stopped: subcommand failed. ninja failed with exit code 1
在使用 release/v4.3
及以上版本时需要在esp_qcloud_prov_ble.c
中加入#include "esp_blufi.h"