espressif / esp-adf

Espressif Audio Development Framework
Other
1.55k stars 689 forks source link

error: implicit declaration of function 'esp_blufi_close'; did you mean 'esp_wifi_stop'? (AUD-4527) #987

Closed TAMHAN closed 1 year ago

TAMHAN commented 1 year ago

Environment

tamhan@TAMHAN18:~/esp4/esp-adf/examples/advanced_examples/wifi_bt_ble_coex$ cd $IDF_PATH tamhan@TAMHAN18:~/esp4/esp-idf$ git describe --tags v4.4.4

tamhan@TAMHAN18:~/esp4/esp-idf$ cd $ADF_PATH tamhan@TAMHAN18:~/esp4/esp-adf$ git describe --tags v2.2-92-g59e5e02

Problem Description

// Detailed problem description goes here. I attempt to use Bluetooth in an ADF project, and it fails with a BluFi error. This happens both in my own project and in the example ~/esp4/esp-adf/examples/advanced_examples/wifi_bt_ble_coex.

Expected Behavior

Attempt to compile example ~/esp4/esp-adf/examples/advanced_examples/wifi_bt_ble_coex and get binary file.

Actual Behavior

Compile fails

Steps to Reproduce

tamhan@TAMHAN18:~/esp4/esp-adf/examples/advanced_examples/wifi_bt_ble_coex$ idf.py build
Executing action: all (aliases: build)
Running ninja in directory /home/tamhan/esp4/esp-adf/examples/advanced_examples/wifi_bt_ble_coex/build
Executing "ninja all"...
[0/1] Re-running CMake...
-- Building ESP-IDF components for target esp32
Processing 1 dependencies:
[1/1] idf (4.4.4)
-- DEBUG: Use esp-modbus component folder: /home/tamhan/esp4/esp-idf/components/freemodbus.
-- Project sdkconfig file /home/tamhan/esp4/esp-adf/examples/advanced_examples/wifi_bt_ble_coex/sdkconfig
Loading defaults file /home/tamhan/esp4/esp-adf/examples/advanced_examples/wifi_bt_ble_coex/sdkconfig.defaults...
/home/tamhan/esp4/esp-adf/examples/advanced_examples/wifi_bt_ble_coex/sdkconfig.defaults:8 CONFIG_BTDM_CONTROLLER_MODE_BTDM was replaced with CONFIG_BTDM_CTRL_MODE_BTDM
/home/tamhan/esp4/esp-adf/examples/advanced_examples/wifi_bt_ble_coex/sdkconfig.defaults:9 CONFIG_BTDM_CONTROLLER_BLE_MAX_CONN was replaced with CONFIG_BTDM_CTRL_BLE_MAX_CONN
/home/tamhan/esp4/esp-adf/examples/advanced_examples/wifi_bt_ble_coex/sdkconfig.defaults:10 CONFIG_BTDM_CONTROLLER_BR_EDR_MAX_ACL_CONN was replaced with CONFIG_BTDM_CTRL_BR_EDR_MAX_ACL_CONN
/home/tamhan/esp4/esp-adf/examples/advanced_examples/wifi_bt_ble_coex/sdkconfig.defaults:11 CONFIG_BTDM_CONTROLLER_BR_EDR_MAX_SYNC_CONN was replaced with CONFIG_BTDM_CTRL_BR_EDR_MAX_SYNC_CONN
/home/tamhan/esp4/esp-adf/examples/advanced_examples/wifi_bt_ble_coex/sdkconfig.defaults:13 CONFIG_BTDM_CONTROLLER_BLE_MAX_CONN_EFF was replaced with CONFIG_BTDM_CTRL_BLE_MAX_CONN_EFF
/home/tamhan/esp4/esp-adf/examples/advanced_examples/wifi_bt_ble_coex/sdkconfig.defaults:14 CONFIG_BTDM_CONTROLLER_BR_EDR_MAX_ACL_CONN_EFF was replaced with CONFIG_BTDM_CTRL_BR_EDR_MAX_ACL_CONN_EFF
/home/tamhan/esp4/esp-adf/examples/advanced_examples/wifi_bt_ble_coex/sdkconfig.defaults:15 CONFIG_BTDM_CONTROLLER_BR_EDR_MAX_SYNC_CONN_EFF was replaced with CONFIG_BTDM_CTRL_BR_EDR_MAX_SYNC_CONN_EFF
/home/tamhan/esp4/esp-adf/examples/advanced_examples/wifi_bt_ble_coex/sdkconfig.defaults:17 CONFIG_BTDM_CONTROLLER_PINNED_TO_CORE was replaced with CONFIG_BTDM_CTRL_PINNED_TO_CORE
/home/tamhan/esp4/esp-adf/examples/advanced_examples/wifi_bt_ble_coex/sdkconfig.defaults:18 CONFIG_BTDM_CONTROLLER_HCI_MODE_VHCI was replaced with CONFIG_BTDM_CTRL_HCI_MODE_VHCI
/home/tamhan/esp4/esp-adf/examples/advanced_examples/wifi_bt_ble_coex/sdkconfig.defaults:19 CONFIG_BLE_SCAN_DUPLICATE was replaced with CONFIG_BTDM_BLE_SCAN_DUPL
/home/tamhan/esp4/esp-adf/examples/advanced_examples/wifi_bt_ble_coex/sdkconfig.defaults:20 CONFIG_SCAN_DUPLICATE_BY_DEVICE_ADDR was replaced with CONFIG_BTDM_SCAN_DUPL_TYPE_DEVICE
/home/tamhan/esp4/esp-adf/examples/advanced_examples/wifi_bt_ble_coex/sdkconfig.defaults:21 CONFIG_SCAN_DUPLICATE_TYPE was replaced with CONFIG_BTDM_SCAN_DUPL_TYPE
/home/tamhan/esp4/esp-adf/examples/advanced_examples/wifi_bt_ble_coex/sdkconfig.defaults:22 CONFIG_DUPLICATE_SCAN_CACHE_SIZE was replaced with CONFIG_BTDM_SCAN_DUPL_CACHE_SIZE
/home/tamhan/esp4/esp-adf/examples/advanced_examples/wifi_bt_ble_coex/sdkconfig.defaults:23 CONFIG_BTDM_CONTROLLER_FULL_SCAN_SUPPORTED was replaced with CONFIG_BTDM_CTRL_FULL_SCAN_SUPPORTED
/home/tamhan/esp4/esp-adf/examples/advanced_examples/wifi_bt_ble_coex/sdkconfig.defaults:24 CONFIG_BLE_ADV_REPORT_FLOW_CONTROL_SUPPORTED was replaced with CONFIG_BTDM_BLE_ADV_REPORT_FLOW_CTRL_SUPP
/home/tamhan/esp4/esp-adf/examples/advanced_examples/wifi_bt_ble_coex/sdkconfig.defaults:25 CONFIG_BLE_ADV_REPORT_FLOW_CONTROL_NUM was replaced with CONFIG_BTDM_BLE_ADV_REPORT_FLOW_CTRL_NUM
/home/tamhan/esp4/esp-adf/examples/advanced_examples/wifi_bt_ble_coex/sdkconfig.defaults:26 CONFIG_BLE_ADV_REPORT_DISCARD_THRSHOLD was replaced with CONFIG_BTDM_BLE_ADV_REPORT_DISCARD_THRSHOLD
/home/tamhan/esp4/esp-adf/examples/advanced_examples/wifi_bt_ble_coex/sdkconfig.defaults:27 CONFIG_BLUEDROID_ENABLED was replaced with CONFIG_BT_BLUEDROID_ENABLED
/home/tamhan/esp4/esp-adf/examples/advanced_examples/wifi_bt_ble_coex/sdkconfig.defaults:28 CONFIG_BLUEDROID_PINNED_TO_CORE_1 was replaced with CONFIG_BT_BLUEDROID_PINNED_TO_CORE_1
/home/tamhan/esp4/esp-adf/examples/advanced_examples/wifi_bt_ble_coex/sdkconfig.defaults:29 CONFIG_BLUEDROID_PINNED_TO_CORE was replaced with CONFIG_BT_BLUEDROID_PINNED_TO_CORE
/home/tamhan/esp4/esp-adf/examples/advanced_examples/wifi_bt_ble_coex/sdkconfig.defaults:30 CONFIG_BTC_TASK_STACK_SIZE was replaced with CONFIG_BT_BTC_TASK_STACK_SIZE
/home/tamhan/esp4/esp-adf/examples/advanced_examples/wifi_bt_ble_coex/sdkconfig.defaults:31 CONFIG_BTU_TASK_STACK_SIZE was replaced with CONFIG_BT_BTU_TASK_STACK_SIZE
/home/tamhan/esp4/esp-adf/examples/advanced_examples/wifi_bt_ble_coex/sdkconfig.defaults:32 CONFIG_CLASSIC_BT_ENABLED was replaced with CONFIG_BT_CLASSIC_ENABLED
/home/tamhan/esp4/esp-adf/examples/advanced_examples/wifi_bt_ble_coex/sdkconfig.defaults:33 CONFIG_A2DP_ENABLE was replaced with CONFIG_BT_A2DP_ENABLE
/home/tamhan/esp4/esp-adf/examples/advanced_examples/wifi_bt_ble_coex/sdkconfig.defaults:36 CONFIG_HFP_ENABLE was replaced with CONFIG_BT_HFP_ENABLE
/home/tamhan/esp4/esp-adf/examples/advanced_examples/wifi_bt_ble_coex/sdkconfig.defaults:37 CONFIG_HFP_CLIENT_ENABLE was replaced with CONFIG_BT_HFP_CLIENT_ENABLE
/home/tamhan/esp4/esp-adf/examples/advanced_examples/wifi_bt_ble_coex/sdkconfig.defaults:38 CONFIG_HFP_AUDIO_DATA_PATH_HCI was replaced with CONFIG_BT_HFP_AUDIO_DATA_PATH_HCI
/home/tamhan/esp4/esp-adf/examples/advanced_examples/wifi_bt_ble_coex/sdkconfig.defaults:40 CONFIG_GATTS_ENABLE was replaced with CONFIG_BT_GATTS_ENABLE
/home/tamhan/esp4/esp-adf/examples/advanced_examples/wifi_bt_ble_coex/sdkconfig.defaults:41 CONFIG_GATTS_SEND_SERVICE_CHANGE_AUTO was replaced with CONFIG_BT_GATTS_SEND_SERVICE_CHANGE_AUTO
/home/tamhan/esp4/esp-adf/examples/advanced_examples/wifi_bt_ble_coex/sdkconfig.defaults:42 CONFIG_GATTS_SEND_SERVICE_CHANGE_MODE was replaced with CONFIG_BT_GATTS_SEND_SERVICE_CHANGE_MODE
/home/tamhan/esp4/esp-adf/examples/advanced_examples/wifi_bt_ble_coex/sdkconfig.defaults:43 CONFIG_GATTC_ENABLE was replaced with CONFIG_BT_GATTC_ENABLE
/home/tamhan/esp4/esp-adf/examples/advanced_examples/wifi_bt_ble_coex/sdkconfig.defaults:44 CONFIG_BLE_SMP_ENABLE was replaced with CONFIG_BT_BLE_SMP_ENABLE
-- App "wifi_bt_ble_coex" version: v2.2-92-g59e5e02
-- Adding linker script /home/tamhan/esp4/esp-adf/examples/advanced_examples/wifi_bt_ble_coex/build/esp-idf/esp_system/ld/memory.ld
-- Adding linker script /home/tamhan/esp4/esp-idf/components/esp_system/ld/esp32/sections.ld.in
-- Adding linker script /home/tamhan/esp4/esp-idf/components/esp_rom/esp32/ld/esp32.rom.ld
-- Adding linker script /home/tamhan/esp4/esp-idf/components/esp_rom/esp32/ld/esp32.rom.api.ld
-- Adding linker script /home/tamhan/esp4/esp-idf/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld
-- Adding linker script /home/tamhan/esp4/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-data.ld
-- Adding linker script /home/tamhan/esp4/esp-idf/components/esp_rom/esp32/ld/esp32.rom.syscalls.ld
-- Adding linker script /home/tamhan/esp4/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.ld
-- Adding linker script /home/tamhan/esp4/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-time.ld
-- Adding linker script /home/tamhan/esp4/esp-idf/components/soc/esp32/ld/esp32.peripherals.ld
-- DEBUG: Use esp-modbus component folder: /home/tamhan/esp4/esp-idf/components/freemodbus.
-- /home/tamhan/esp4/esp-adf/components/esp-adf-libs, Chip is esp32
-- Current board name is CONFIG_ESP_LYRAT_V4_3_BOARD
-- Components: adf_utils app_trace app_update asio audio_board audio_hal audio_pipeline audio_sal audio_stream battery_service bluetooth_service bootloader bootloader_support bt cbor clouds cmock coap console coredump_upload_service cxx display_service driver dueros_service efuse esp-adf-libs esp-sr esp-tls esp32 esp_actions esp_adc_cal esp_common esp_dispatcher esp_eth esp_event esp_event_cast esp_gdbstub esp_hid esp_http_client esp_http_server esp_https_ota esp_https_server esp_hw_support esp_ipc esp_lcd esp_local_ctrl esp_netif esp_peripherals esp_phy esp_pm esp_ringbuf esp_rom esp_serial_slave_link esp_system esp_timer esp_websocket_client esp_wifi espcoredump esptool_py expat fatfs freemodbus freertos hal heap idf_test ieee802154 input_key_service jsmn json libsodium log lwip main mbedtls mdns mqtt newlib nghttp nvs_flash openssl openthread ota_service partition_table perfmon playlist protobuf-c protocomm pthread sdmmc soc spi_flash spiffs tcp_transport tcpip_adapter tinyusb tone_partition ulp unity usb vfs wear_levelling wifi_provisioning wifi_service wpa_supplicant xtensa
-- Component paths: /home/tamhan/esp4/esp-adf/components/adf_utils /home/tamhan/esp4/esp-idf/components/app_trace /home/tamhan/esp4/esp-idf/components/app_update /home/tamhan/esp4/esp-idf/components/asio /home/tamhan/esp4/esp-adf/components/audio_board /home/tamhan/esp4/esp-adf/components/audio_hal /home/tamhan/esp4/esp-adf/components/audio_pipeline /home/tamhan/esp4/esp-adf/components/audio_sal /home/tamhan/esp4/esp-adf/components/audio_stream /home/tamhan/esp4/esp-adf/components/battery_service /home/tamhan/esp4/esp-adf/components/bluetooth_service /home/tamhan/esp4/esp-idf/components/bootloader /home/tamhan/esp4/esp-idf/components/bootloader_support /home/tamhan/esp4/esp-idf/components/bt /home/tamhan/esp4/esp-idf/components/cbor /home/tamhan/esp4/esp-adf/components/clouds /home/tamhan/esp4/esp-idf/components/cmock /home/tamhan/esp4/esp-idf/components/coap /home/tamhan/esp4/esp-idf/components/console /home/tamhan/esp4/esp-adf/components/coredump_upload_service /home/tamhan/esp4/esp-idf/components/cxx /home/tamhan/esp4/esp-adf/components/display_service /home/tamhan/esp4/esp-idf/components/driver /home/tamhan/esp4/esp-adf/components/dueros_service /home/tamhan/esp4/esp-idf/components/efuse /home/tamhan/esp4/esp-adf/components/esp-adf-libs /home/tamhan/esp4/esp-adf/components/esp-sr /home/tamhan/esp4/esp-idf/components/esp-tls /home/tamhan/esp4/esp-idf/components/esp32 /home/tamhan/esp4/esp-adf/components/esp_actions /home/tamhan/esp4/esp-idf/components/esp_adc_cal /home/tamhan/esp4/esp-idf/components/esp_common /home/tamhan/esp4/esp-adf/components/esp_dispatcher /home/tamhan/esp4/esp-idf/components/esp_eth /home/tamhan/esp4/esp-idf/components/esp_event /home/tamhan/esp4/esp-adf/components/esp_event_cast /home/tamhan/esp4/esp-idf/components/esp_gdbstub /home/tamhan/esp4/esp-idf/components/esp_hid /home/tamhan/esp4/esp-idf/components/esp_http_client /home/tamhan/esp4/esp-idf/components/esp_http_server /home/tamhan/esp4/esp-idf/components/esp_https_ota /home/tamhan/esp4/esp-idf/components/esp_https_server /home/tamhan/esp4/esp-idf/components/esp_hw_support /home/tamhan/esp4/esp-idf/components/esp_ipc /home/tamhan/esp4/esp-idf/components/esp_lcd /home/tamhan/esp4/esp-idf/components/esp_local_ctrl /home/tamhan/esp4/esp-idf/components/esp_netif /home/tamhan/esp4/esp-adf/components/esp_peripherals /home/tamhan/esp4/esp-idf/components/esp_phy /home/tamhan/esp4/esp-idf/components/esp_pm /home/tamhan/esp4/esp-idf/components/esp_ringbuf /home/tamhan/esp4/esp-idf/components/esp_rom /home/tamhan/esp4/esp-idf/components/esp_serial_slave_link /home/tamhan/esp4/esp-idf/components/esp_system /home/tamhan/esp4/esp-idf/components/esp_timer /home/tamhan/esp4/esp-idf/components/esp_websocket_client /home/tamhan/esp4/esp-idf/components/esp_wifi /home/tamhan/esp4/esp-idf/components/espcoredump /home/tamhan/esp4/esp-idf/components/esptool_py /home/tamhan/esp4/esp-idf/components/expat /home/tamhan/esp4/esp-idf/components/fatfs /home/tamhan/esp4/esp-idf/components/freemodbus /home/tamhan/esp4/esp-idf/components/freertos /home/tamhan/esp4/esp-idf/components/hal /home/tamhan/esp4/esp-idf/components/heap /home/tamhan/esp4/esp-idf/components/idf_test /home/tamhan/esp4/esp-idf/components/ieee802154 /home/tamhan/esp4/esp-adf/components/input_key_service /home/tamhan/esp4/esp-idf/components/jsmn /home/tamhan/esp4/esp-idf/components/json /home/tamhan/esp4/esp-idf/components/libsodium /home/tamhan/esp4/esp-idf/components/log /home/tamhan/esp4/esp-idf/components/lwip /home/tamhan/esp4/esp-adf/examples/advanced_examples/wifi_bt_ble_coex/main /home/tamhan/esp4/esp-idf/components/mbedtls /home/tamhan/esp4/esp-idf/components/mdns /home/tamhan/esp4/esp-idf/components/mqtt /home/tamhan/esp4/esp-idf/components/newlib /home/tamhan/esp4/esp-idf/components/nghttp /home/tamhan/esp4/esp-idf/components/nvs_flash /home/tamhan/esp4/esp-idf/components/openssl /home/tamhan/esp4/esp-idf/components/openthread /home/tamhan/esp4/esp-adf/components/ota_service /home/tamhan/esp4/esp-idf/components/partition_table /home/tamhan/esp4/esp-idf/components/perfmon /home/tamhan/esp4/esp-adf/components/playlist /home/tamhan/esp4/esp-idf/components/protobuf-c /home/tamhan/esp4/esp-idf/components/protocomm /home/tamhan/esp4/esp-idf/components/pthread /home/tamhan/esp4/esp-idf/components/sdmmc /home/tamhan/esp4/esp-idf/components/soc /home/tamhan/esp4/esp-idf/components/spi_flash /home/tamhan/esp4/esp-idf/components/spiffs /home/tamhan/esp4/esp-idf/components/tcp_transport /home/tamhan/esp4/esp-idf/components/tcpip_adapter /home/tamhan/esp4/esp-idf/components/tinyusb /home/tamhan/esp4/esp-adf/components/tone_partition /home/tamhan/esp4/esp-idf/components/ulp /home/tamhan/esp4/esp-idf/components/unity /home/tamhan/esp4/esp-idf/components/usb /home/tamhan/esp4/esp-idf/components/vfs /home/tamhan/esp4/esp-idf/components/wear_levelling /home/tamhan/esp4/esp-idf/components/wifi_provisioning /home/tamhan/esp4/esp-adf/components/wifi_service /home/tamhan/esp4/esp-idf/components/wpa_supplicant /home/tamhan/esp4/esp-idf/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: /home/tamhan/esp4/esp-adf/examples/advanced_examples/wifi_bt_ble_coex/build
[7/1474] Generating ../../partition_table/partition-table.bin
Partition table binary generated. Contents:
*******************************************************************************
# ESP-IDF Partition Table
# Name, Type, SubType, Offset, Size, Flags
nvs,data,nvs,0x9000,16K,
phy_init,data,phy,0xd000,4K,
factory,app,factory,0x10000,3M,
*******************************************************************************
[328/1474] Performing configure step for 'bootloader'
-- Found Git: /usr/bin/git (found version "2.25.1") 
-- The C compiler identification is GNU 8.4.0
-- The CXX compiler identification is GNU 8.4.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/tamhan/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/tamhan/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /home/tamhan/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32
-- DEBUG: Use esp-modbus component folder: /home/tamhan/esp4/esp-idf/components/freemodbus.
-- Project sdkconfig file /home/tamhan/esp4/esp-adf/examples/advanced_examples/wifi_bt_ble_coex/sdkconfig
-- Adding linker script /home/tamhan/esp4/esp-idf/components/soc/esp32/ld/esp32.peripherals.ld
-- Adding linker script /home/tamhan/esp4/esp-idf/components/esp_rom/esp32/ld/esp32.rom.ld
-- Adding linker script /home/tamhan/esp4/esp-idf/components/esp_rom/esp32/ld/esp32.rom.api.ld
-- Adding linker script /home/tamhan/esp4/esp-idf/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld
-- Adding linker script /home/tamhan/esp4/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.ld
-- Adding linker script /home/tamhan/esp4/esp-idf/components/bootloader/subproject/main/ld/esp32/bootloader.ld
-- Adding linker script /home/tamhan/esp4/esp-idf/components/bootloader/subproject/main/ld/esp32/bootloader.rom.ld
-- Components: bootloader bootloader_support efuse esp32 esp_common esp_hw_support esp_rom esp_system esptool_py freertos hal log main micro-ecc newlib partition_table soc spi_flash xtensa
-- Component paths: /home/tamhan/esp4/esp-idf/components/bootloader /home/tamhan/esp4/esp-idf/components/bootloader_support /home/tamhan/esp4/esp-idf/components/efuse /home/tamhan/esp4/esp-idf/components/esp32 /home/tamhan/esp4/esp-idf/components/esp_common /home/tamhan/esp4/esp-idf/components/esp_hw_support /home/tamhan/esp4/esp-idf/components/esp_rom /home/tamhan/esp4/esp-idf/components/esp_system /home/tamhan/esp4/esp-idf/components/esptool_py /home/tamhan/esp4/esp-idf/components/freertos /home/tamhan/esp4/esp-idf/components/hal /home/tamhan/esp4/esp-idf/components/log /home/tamhan/esp4/esp-idf/components/bootloader/subproject/main /home/tamhan/esp4/esp-idf/components/bootloader/subproject/components/micro-ecc /home/tamhan/esp4/esp-idf/components/newlib /home/tamhan/esp4/esp-idf/components/partition_table /home/tamhan/esp4/esp-idf/components/soc /home/tamhan/esp4/esp-idf/components/spi_flash /home/tamhan/esp4/esp-idf/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: /home/tamhan/esp4/esp-adf/examples/advanced_examples/wifi_bt_ble_coex/build/bootloader
[418/1474] Performing build step for 'bootloader'
[1/100] Generating project_elf_src_esp32.c
[2/100] Building C object esp-idf/hal/CMakeFiles/__idf_hal.dir/esp32/efuse_hal.c.obj
[3/100] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/soc_include_legacy_warn.c.obj
[4/100] Building C object esp-idf/hal/CMakeFiles/__idf_hal.dir/efuse_hal.c.obj
[5/100] Building C object CMakeFiles/bootloader.elf.dir/project_elf_src_esp32.c.obj
[6/100] Building C object esp-idf/hal/CMakeFiles/__idf_hal.dir/mpu_hal.c.obj
[7/100] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/lldesc.c.obj
[8/100] Building C object esp-idf/hal/CMakeFiles/__idf_hal.dir/wdt_hal_iram.c.obj
[9/100] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/adc_periph.c.obj
[10/100] Building C object esp-idf/hal/CMakeFiles/__idf_hal.dir/cpu_hal.c.obj
[11/100] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/dac_periph.c.obj
[12/100] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/gpio_periph.c.obj
[13/100] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/i2c_periph.c.obj
[14/100] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/i2s_periph.c.obj
[15/100] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/interrupts.c.obj
[16/100] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/ledc_periph.c.obj
[17/100] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/lcd_periph.c.obj
[18/100] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/mcpwm_periph.c.obj
[19/100] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/pcnt_periph.c.obj
[20/100] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/rmt_periph.c.obj
[21/100] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sdio_slave_periph.c.obj
[22/100] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sdmmc_periph.c.obj
[23/100] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/rtc_io_periph.c.obj
[24/100] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sigmadelta_periph.c.obj
[25/100] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/spi_periph.c.obj
[26/100] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/timer_periph.c.obj
[27/100] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/touch_sensor_periph.c.obj
[28/100] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/uart_periph.c.obj
[29/100] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_clock_init.c.obj
[30/100] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_mem.c.obj
[31/100] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_wdt.c.obj
[32/100] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_common.c.obj
[33/100] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_random.c.obj
[34/100] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_common_loader.c.obj
[35/100] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_flash.c.obj
[36/100] Building C object esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/esp32/spi_flash_rom_patch.c.obj
[37/100] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_random_esp32.c.obj
[38/100] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/secure_boot.c.obj
[39/100] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_encrypt.c.obj
[40/100] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_partitions.c.obj
[41/100] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_qio_mode.c.obj
[42/100] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_efuse.c.obj
[43/100] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_console_loader.c.obj
[44/100] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_clock_loader.c.obj
[45/100] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_flash_config_esp32.c.obj
[46/100] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/bootloader_soc.c.obj
[47/100] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_init.c.obj
[48/100] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/bootloader_sha.c.obj
[49/100] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_console.c.obj
[50/100] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_utility.c.obj
[51/100] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_panic.c.obj
[52/100] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp_image_format.c.obj
[53/100] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32/esp_efuse_table.c.obj
[54/100] Building C object esp-idf/micro-ecc/CMakeFiles/__idf_micro-ecc.dir/uECC_verify_antifault.c.obj
[55/100] Building C object esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/esp_err.c.obj
[56/100] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_api_key_esp32.c.obj
[57/100] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32/esp_efuse_fields.c.obj
[58/100] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32/esp_efuse_utility.c.obj
[59/100] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_fields.c.obj
[60/100] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_api.c.obj
[61/100] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/compare_set.c.obj
[62/100] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/bootloader_esp32.c.obj
[63/100] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_utility.c.obj
[64/100] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_pm.c.obj
[65/100] Building C object esp-idf/xtensa/CMakeFiles/__idf_xtensa.dir/eri.c.obj
[66/100] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/chip_info.c.obj
[67/100] Building C object esp-idf/xtensa/CMakeFiles/__idf_xtensa.dir/xt_trax.c.obj
[68/100] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_init.c.obj
[69/100] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/cpu_util.c.obj
[70/100] Building C object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_sys.c.obj
[71/100] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_clk_init.c.obj
[72/100] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_time.c.obj
[73/100] Building C object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_crc.c.obj
[74/100] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_sleep.c.obj
[75/100] Building C object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_tjpgd.c.obj
[76/100] Building C object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_efuse.c.obj
[77/100] Building C object esp-idf/esp_common/CMakeFiles/__idf_esp_common.dir/src/esp_err_to_name.c.obj
[78/100] Building ASM object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_longjmp.S.obj
[79/100] Building C object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_uart.c.obj
[80/100] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_clk.c.obj
[81/100] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/bootloader_start.c.obj
[82/100] Building C object esp-idf/log/CMakeFiles/__idf_log.dir/log_noos.c.obj
[83/100] Building C object esp-idf/log/CMakeFiles/__idf_log.dir/log_buffers.c.obj
[84/100] Building C object esp-idf/log/CMakeFiles/__idf_log.dir/log.c.obj
[85/100] Linking C static library esp-idf/log/liblog.a
[86/100] Linking C static library esp-idf/esp_rom/libesp_rom.a
[87/100] Linking C static library esp-idf/esp_common/libesp_common.a
[88/100] Linking C static library esp-idf/xtensa/libxtensa.a
[89/100] Linking C static library esp-idf/esp_hw_support/libesp_hw_support.a
[90/100] Linking C static library esp-idf/esp_system/libesp_system.a
[91/100] Linking C static library esp-idf/efuse/libefuse.a
[92/100] Linking C static library esp-idf/bootloader_support/libbootloader_support.a
[93/100] Linking C static library esp-idf/spi_flash/libspi_flash.a
[94/100] Linking C static library esp-idf/micro-ecc/libmicro-ecc.a
[95/100] Linking C static library esp-idf/soc/libsoc.a
[96/100] Linking C static library esp-idf/hal/libhal.a
[97/100] Linking C static library esp-idf/main/libmain.a
[98/100] Linking C executable bootloader.elf
[99/100] Generating binary image from built executable
esptool.py v3.3.2
Creating esp32 image...
Merged 1 ELF section
Successfully created esp32 image.
Generated /home/tamhan/esp4/esp-adf/examples/advanced_examples/wifi_bt_ble_coex/build/bootloader/bootloader.bin
[100/100] cd /home/tamhan/esp4/esp-adf/examples/advanced_examples/wifi_bt_ble_coex/build/bootloader/esp-idf/esptool_py && /home/tamhan/.espressif/python_env/idf4.4_py3.8_env/bin/python /home/tamhan/esp4/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x1000 /home/tamhan/esp4/esp-adf/examples/advanced_examples/wifi_bt_ble_coex/build/bootloader/bootloader.bin
Bootloader binary size 0x63b0 bytes. 0xc50 bytes (11%) free.
[1376/1474] Building C object esp-idf/esp_peripherals/CMakeFiles/__idf_esp_peripherals.dir/periph_console.c.obj
/home/tamhan/esp4/esp-adf/components/esp_peripherals/periph_console.c: In function '_console_init':
/home/tamhan/esp4/esp-adf/components/esp_peripherals/periph_console.c:254:5: warning: 'esp_vfs_dev_uart_set_rx_line_endings' is deprecated [-Wdeprecated-declarations]
     esp_vfs_dev_uart_set_rx_line_endings(ESP_LINE_ENDINGS_CR);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/tamhan/esp4/esp-adf/components/esp_peripherals/periph_console.c:29:
/home/tamhan/esp4/esp-idf/components/vfs/include/esp_vfs_dev.h:37:6: note: declared here
 void esp_vfs_dev_uart_set_rx_line_endings(esp_line_endings_t mode) __attribute__((deprecated));
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/tamhan/esp4/esp-adf/components/esp_peripherals/periph_console.c:256:5: warning: 'esp_vfs_dev_uart_set_tx_line_endings' is deprecated [-Wdeprecated-declarations]
     esp_vfs_dev_uart_set_tx_line_endings(ESP_LINE_ENDINGS_CRLF);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/tamhan/esp4/esp-adf/components/esp_peripherals/periph_console.c:29:
/home/tamhan/esp4/esp-idf/components/vfs/include/esp_vfs_dev.h:53:6: note: declared here
 void esp_vfs_dev_uart_set_tx_line_endings(esp_line_endings_t mode) __attribute__((deprecated));
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[1391/1474] Building C object esp-idf/esp_peripherals/CMakeFiles/__idf_esp_peripherals.dir/periph_ws2812.c.obj
/home/tamhan/esp4/esp-adf/components/esp_peripherals/periph_ws2812.c: In function 'ws2812_init_rmt_channel':
/home/tamhan/esp4/esp-adf/components/esp_peripherals/periph_ws2812.c:111:5: warning: 'rmt_set_intr_enable_mask' is deprecated: interrupt should be handled by driver [-Wdeprecated-declarations]
     rmt_set_intr_enable_mask(BIT(0) | BIT(24));
     ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/tamhan/esp4/esp-adf/components/esp_peripherals/periph_ws2812.c:29:
/home/tamhan/esp4/esp-idf/components/driver/include/driver/rmt.h:907:6: note: declared here
 void rmt_set_intr_enable_mask(uint32_t mask)
      ^~~~~~~~~~~~~~~~~~~~~~~~
[1397/1474] Building C object esp-idf/esp_peripherals/CMakeFiles/__idf_esp_peripherals.dir/lib/blufi/wifibleconfig.c.obj
FAILED: esp-idf/esp_peripherals/CMakeFiles/__idf_esp_peripherals.dir/lib/blufi/wifibleconfig.c.obj 
/home/tamhan/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc -DADF_VER=\"v2.2-92-g59e5e02\" -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -Iconfig -I/home/tamhan/esp4/esp-adf/components/esp_peripherals/include -I/home/tamhan/esp4/esp-adf/components/esp_peripherals/lib/adc_button -I/home/tamhan/esp4/esp-adf/components/esp_peripherals/lib/gpio_isr -I/home/tamhan/esp4/esp-adf/components/esp_peripherals/lib/sdcard -I/home/tamhan/esp4/esp-adf/components/esp_peripherals/lib/touch -I/home/tamhan/esp4/esp-adf/components/esp_peripherals/lib/button -I/home/tamhan/esp4/esp-adf/components/esp_peripherals/lib/blufi -I/home/tamhan/esp4/esp-adf/components/esp_peripherals/lib/IS31FL3216 -I/home/tamhan/esp4/esp-adf/components/esp_peripherals/lib/aw2013 -I/home/tamhan/esp4/esp-adf/components/esp_peripherals/driver/i2c_bus -I/home/tamhan/esp4/esp-idf/components/newlib/platform_include -I/home/tamhan/esp4/esp-idf/components/freertos/include -I/home/tamhan/esp4/esp-idf/components/freertos/include/esp_additions/freertos -I/home/tamhan/esp4/esp-idf/components/freertos/port/xtensa/include -I/home/tamhan/esp4/esp-idf/components/freertos/include/esp_additions -I/home/tamhan/esp4/esp-idf/components/esp_hw_support/include -I/home/tamhan/esp4/esp-idf/components/esp_hw_support/include/soc -I/home/tamhan/esp4/esp-idf/components/esp_hw_support/include/soc/esp32 -I/home/tamhan/esp4/esp-idf/components/esp_hw_support/port/esp32/. -I/home/tamhan/esp4/esp-idf/components/esp_hw_support/port/esp32/private_include -I/home/tamhan/esp4/esp-idf/components/heap/include -I/home/tamhan/esp4/esp-idf/components/log/include -I/home/tamhan/esp4/esp-idf/components/lwip/include/apps -I/home/tamhan/esp4/esp-idf/components/lwip/include/apps/sntp -I/home/tamhan/esp4/esp-idf/components/lwip/lwip/src/include -I/home/tamhan/esp4/esp-idf/components/lwip/port/esp32/include -I/home/tamhan/esp4/esp-idf/components/lwip/port/esp32/include/arch -I/home/tamhan/esp4/esp-idf/components/soc/include -I/home/tamhan/esp4/esp-idf/components/soc/esp32/. -I/home/tamhan/esp4/esp-idf/components/soc/esp32/include -I/home/tamhan/esp4/esp-idf/components/hal/esp32/include -I/home/tamhan/esp4/esp-idf/components/hal/include -I/home/tamhan/esp4/esp-idf/components/hal/platform_port/include -I/home/tamhan/esp4/esp-idf/components/esp_rom/include -I/home/tamhan/esp4/esp-idf/components/esp_rom/include/esp32 -I/home/tamhan/esp4/esp-idf/components/esp_rom/esp32 -I/home/tamhan/esp4/esp-idf/components/esp_common/include -I/home/tamhan/esp4/esp-idf/components/esp_system/include -I/home/tamhan/esp4/esp-idf/components/esp_system/port/soc -I/home/tamhan/esp4/esp-idf/components/esp_system/port/public_compat -I/home/tamhan/esp4/esp-idf/components/esp32/include -I/home/tamhan/esp4/esp-idf/components/xtensa/include -I/home/tamhan/esp4/esp-idf/components/xtensa/esp32/include -I/home/tamhan/esp4/esp-idf/components/driver/include -I/home/tamhan/esp4/esp-idf/components/driver/esp32/include -I/home/tamhan/esp4/esp-idf/components/esp_pm/include -I/home/tamhan/esp4/esp-idf/components/esp_ringbuf/include -I/home/tamhan/esp4/esp-idf/components/efuse/include -I/home/tamhan/esp4/esp-idf/components/efuse/esp32/include -I/home/tamhan/esp4/esp-idf/components/vfs/include -I/home/tamhan/esp4/esp-idf/components/esp_wifi/include -I/home/tamhan/esp4/esp-idf/components/esp_event/include -I/home/tamhan/esp4/esp-idf/components/esp_netif/include -I/home/tamhan/esp4/esp-idf/components/esp_eth/include -I/home/tamhan/esp4/esp-idf/components/tcpip_adapter/include -I/home/tamhan/esp4/esp-idf/components/esp_phy/include -I/home/tamhan/esp4/esp-idf/components/esp_phy/esp32/include -I/home/tamhan/esp4/esp-idf/components/esp_ipc/include -I/home/tamhan/esp4/esp-idf/components/app_trace/include -I/home/tamhan/esp4/esp-idf/components/esp_timer/include -I/home/tamhan/esp4/esp-adf/components/audio_hal/include -I/home/tamhan/esp4/esp-adf/components/audio_hal/driver/es8388 -I/home/tamhan/esp4/esp-adf/components/audio_hal/driver/es8374 -I/home/tamhan/esp4/esp-adf/components/audio_hal/driver/es8311 -I/home/tamhan/esp4/esp-adf/components/audio_hal/driver/es7243 -I/home/tamhan/esp4/esp-adf/components/audio_hal/driver/es7148 -I/home/tamhan/esp4/esp-adf/components/audio_hal/driver/es7210 -I/home/tamhan/esp4/esp-adf/components/audio_hal/driver/tas5805m -I/home/tamhan/esp4/esp-adf/components/audio_hal/driver/zl38063 -I/home/tamhan/esp4/esp-adf/components/audio_hal/driver/zl38063/api_lib -I/home/tamhan/esp4/esp-adf/components/audio_hal/driver/zl38063/example_apps -I/home/tamhan/esp4/esp-adf/components/audio_hal/driver/zl38063/firmware -I/home/tamhan/esp4/esp-adf/components/audio_hal/driver/include -I/home/tamhan/esp4/esp-idf/components/esp_adc_cal/include -I/home/tamhan/esp4/esp-adf/components/audio_sal/include -I/home/tamhan/esp4/esp-idf/components/fatfs/diskio -I/home/tamhan/esp4/esp-idf/components/fatfs/vfs -I/home/tamhan/esp4/esp-idf/components/fatfs/src -I/home/tamhan/esp4/esp-idf/components/wear_levelling/include -I/home/tamhan/esp4/esp-idf/components/spi_flash/include -I/home/tamhan/esp4/esp-idf/components/sdmmc/include -I/home/tamhan/esp4/esp-idf/components/console -I/home/tamhan/esp4/esp-adf/components/audio_pipeline/include -I/home/tamhan/esp4/esp-adf/components/esp-adf-libs/esp_audio/include -I/home/tamhan/esp4/esp-adf/components/esp-adf-libs/esp_codec/include/codec -I/home/tamhan/esp4/esp-adf/components/esp-adf-libs/esp_codec/include/processing -I/home/tamhan/esp4/esp-adf/components/esp-adf-libs/esp_upnp/include -I/home/tamhan/esp4/esp-adf/components/esp-adf-libs/esp_ssdp/include -I/home/tamhan/esp4/esp-adf/components/esp-adf-libs/recorder_engine/include -I/home/tamhan/esp4/esp-adf/components/esp-adf-libs/audio_misc/include -I/home/tamhan/esp4/esp-adf/components/esp-adf-libs/esp_sip/include -I/home/tamhan/esp4/esp-adf/components/esp-sr/lib/include -I/home/tamhan/esp4/esp-adf/components/esp-sr/wake_word_engine/include -I/home/tamhan/esp4/esp-adf/components/esp-sr/speech_command_recognition/include -I/home/tamhan/esp4/esp-adf/components/esp-sr/acoustic_algorithm/include -I/home/tamhan/esp4/esp-adf/components/esp-sr/esp-tts/esp_tts_chinese/include -I/home/tamhan/esp4/esp-idf/components/nghttp/port/include -I/home/tamhan/esp4/esp-idf/components/nghttp/nghttp2/lib/includes -I/home/tamhan/esp4/esp-idf/components/tcp_transport/include -I/home/tamhan/esp4/esp-idf/components/esp-tls -I/home/tamhan/esp4/esp-idf/components/esp-tls/esp-tls-crypto -I/home/tamhan/esp4/esp-idf/components/mbedtls/port/include -I/home/tamhan/esp4/esp-idf/components/mbedtls/mbedtls/include -I/home/tamhan/esp4/esp-idf/components/mbedtls/esp_crt_bundle/include -I/home/tamhan/esp4/esp-adf/components/audio_board/include -I/home/tamhan/esp4/esp-adf/components/audio_board/lyrat_v4_3 -I/home/tamhan/esp4/esp-idf/components/spiffs/include -I/home/tamhan/esp4/esp-adf/components/display_service/include -I/home/tamhan/esp4/esp-adf/components/display_service/led_indicator/include -I/home/tamhan/esp4/esp-adf/components/display_service/led_bar/include -I/home/tamhan/esp4/esp-adf/components/esp_dispatcher/include -I/home/tamhan/esp4/esp-idf/components/bt/common/osi/include -I/home/tamhan/esp4/esp-idf/components/bt/include/esp32/include -I/home/tamhan/esp4/esp-idf/components/bt/common/api/include/api -I/home/tamhan/esp4/esp-idf/components/bt/common/btc/profile/esp/blufi/include -I/home/tamhan/esp4/esp-idf/components/bt/common/btc/profile/esp/include -I/home/tamhan/esp4/esp-idf/components/bt/host/bluedroid/api/include/api -I/home/tamhan/esp4/esp-idf/components/nvs_flash/include -I/home/tamhan/esp4/esp-idf/components/wpa_supplicant/include -I/home/tamhan/esp4/esp-idf/components/wpa_supplicant/port/include -I/home/tamhan/esp4/esp-idf/components/wpa_supplicant/esp_supplicant/include -mlongcalls -Wno-frame-address  -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -ggdb -Og -fmacro-prefix-map=/home/tamhan/esp4/esp-adf/examples/advanced_examples/wifi_bt_ble_coex=. -fmacro-prefix-map=/home/tamhan/esp4/esp-idf=IDF -fstrict-volatile-bitfields -Wno-error=unused-but-set-variable -fno-jump-tables -fno-tree-switch-conversion -std=gnu99 -Wno-old-style-declaration -D_GNU_SOURCE -DIDF_VER=\"v4.4.4-dirty\" -DESP_PLATFORM -D_POSIX_READER_WRITER_LOCKS -MD -MT esp-idf/esp_peripherals/CMakeFiles/__idf_esp_peripherals.dir/lib/blufi/wifibleconfig.c.obj -MF esp-idf/esp_peripherals/CMakeFiles/__idf_esp_peripherals.dir/lib/blufi/wifibleconfig.c.obj.d -o esp-idf/esp_peripherals/CMakeFiles/__idf_esp_peripherals.dir/lib/blufi/wifibleconfig.c.obj -c /home/tamhan/esp4/esp-adf/components/esp_peripherals/lib/blufi/wifibleconfig.c
/home/tamhan/esp4/esp-adf/components/esp_peripherals/lib/blufi/wifibleconfig.c: In function 'wifi_ble_event_callback':
/home/tamhan/esp4/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: some warnings being treated as errors
[1404/1474] Building C object esp-idf/battery_service/CMakeFiles/__idf_battery_service.dir/battery_service.c.obj
/home/tamhan/esp4/esp-adf/components/battery_service/battery_service.c: In function 'battery_task':
/home/tamhan/esp4/esp-adf/components/battery_service/battery_service.c:122:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
                     service->running = false;
                                      ^
/home/tamhan/esp4/esp-adf/components/battery_service/battery_service.c:124:17: note: here
                 case BATTERY_SERVICE_STOP: {
                 ^~~~
[1406/1474] Building C object esp-idf/coredump_upload_service/CMakeFiles/__idf_coredump_upload_service.dir/coredump_upload_service.c.obj
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
  1. step1
  2. ...

// If possible, attach a picture of your setup/wiring here.

Code to Reproduce This Issue

// the code should be wrapped in the ```cpp tag so that it will be displayed better.
#include "esp_log.h"

void app_main()
{

}

// If your code is longer than 30 lines, GIST is preferred.

Debug Logs

Debug log goes here. It should contain the backtrace, as well as the reset source if it is a crash.
Please copy the plaintext here for us to search the error log. Or attach the complete logs and leave the main part here if the log is *too* long.

Other Items If Possible

TAMHAN commented 1 year ago

sdkconfig.zip

TAMHAN commented 1 year ago

I managed to get it compiling by changing this:

tamhan@TAMHAN18:~/esp4/esp-adf/play_mp3_experiment$ gedit /home/tamhan/esp4/esp-adf/components/esp_peripherals/lib/blufi/wifibleconfig.c

    case ESP_BLUFI_EVENT_RECV_SLAVE_DISCONNECT_BLE:
        ESP_LOGI(WIFI_BLE_TAG, "BLUFI close a gatt connection");
        //esp_blufi_close(g_wifi_ble_config->ble_server_if, g_wifi_ble_config->ble_conn_id);
        break;

tamhan@TAMHAN18:~/esp4/esp-adf/play_mp3_bluetooth$ gedit /home/tamhan/esp4/esp-adf/components/wifi_service/blufi_config/blufi_config.c

    case ESP_BLUFI_EVENT_RECV_SLAVE_DISCONNECT_BLE:
        ESP_LOGI(TAG, "BLUFI close a gatt connection");
        //esp_blufi_close(cfg->ble_server_if, cfg->ble_conn_id);
        break;
jason-mao commented 1 year ago

@TAMHAN I saw your ADF is v2.3, would please update to latest ADF version to check? I build ADF v2.5 with IDF v4.4.4 and v4.4.5 no same issue in there.

TAMHAN commented 1 year ago

Hello, sorry for being slow. This is a bit problematic, my client would not appreciate - the code works for us. But still, big thanks for your willingness to help!