Hello
I am trying to use ESP32-A2DP component (https://github.com/pschatzmann/ESP32-A2DP) and it have worked with 4.4.x API.
This component use i2s.h library which in 5.X API is legacy and it is in "depreciate" directory.
During compilation I have sutch error:
In file included from ../../../main/components/ESP32-A2DP-main/src/BluetoothA2DPCommon.cpp:16:
../../../main/components/ESP32-A2DP-main/src/BluetoothA2DPCommon.h:47:10: fatal error: driver/i2s.h: No such file or directory
47 | #include "driver/i2s.h"
| ^~~~~~~~~~~~~~
When I put #include "driver/i2s.h" directly in main.c there is no error but when I add A2DP component I see compilations error.
What is wrong? How can I use this legacy driver?
API 5.x I2S legacy issue
Re: API 5.x I2S legacy issue
Bellow I paste full build output with errors and hint:
PS D:!!!__GitHUB_repositories\MustangRadio_develepementVersion\02_Firmware\01_ESP32\VisualGDB_BT_cpp> idf.py build
C:\Espressif\frameworks\esp-idf-v5.0.3\tools\check_python_dependencies.py:12: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
Executing action: all (aliases: build)
Running ninja in directory D:!!!__GitHUB_repositories\MustangRadio_develepementVersion\02_Firmware\01_ESP32\VisualGDB_BT_cpp\build
Executing "ninja all"...
[0/1] Re-running CMake...-- ccache will be used for faster recompilation
-- Building ESP-IDF components for target esp32
-- Project sdkconfig file D:/!!!__GitHUB_repositories/MustangRadio_develepementVersion/02_Firmware/01_ESP32/VisualGDB_BT_cpp/sdkconfig
Loading defaults file D:/!!!__GitHUB_repositories/MustangRadio_develepementVersion/02_Firmware/01_ESP32/VisualGDB_BT_cpp/sdkconfig.defaults...
D:/!!!__GitHUB_repositories/MustangRadio_develepementVersion/02_Firmware/01_ESP32/VisualGDB_BT_cpp/sdkconfig:1015 CONFIG_ESP_TASK_WDT was replaced with CONFIG_ESP_TASK_WDT_INIT
-- App "cpp_exceptions_example" version: 1476054e-dirty
-- Adding linker script D:/!!!__GitHUB_repositories/MustangRadio_develepementVersion/02_Firmware/01_ESP32/VisualGDB_BT_cpp/build/esp-idf/esp_system/ld/memory.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_system/ld/esp32/sections.ld.in
-- Adding linker script C:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_rom/esp32/ld/esp32.rom.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_rom/esp32/ld/esp32.rom.api.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_rom/esp32/ld/esp32.rom.newlib-data.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_rom/esp32/ld/esp32.rom.syscalls.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-v5.0.3/components/soc/esp32/ld/esp32.peripherals.ld
-- Components: ESP32-A2DP-main app_trace app_update bootloader bootloader_support bt cmock console cxx driver efuse esp-tls esp_adc esp_app_format esp_common esp_eth esp_event esp_gdbstub esp_hid esp_http_client esp_http_server esp_https_ota esp_https_server esp_hw_support esp_lcd esp_local_ctrl esp_netif esp_partition esp_phy esp_pm esp_psram esp_ringbuf esp_rom esp_system esp_timer esp_wifi espcoredump esptool_py fatfs freertos hal heap http_parser idf_test ieee802154 json log lwip main mbedtls mqtt newlib nvs_flash openthread partition_table perfmon protobuf-c protocomm pthread sdmmc soc spi_flash spiffs tcp_transport ulp unity usb vfs wear_levelling wifi_provisioning wpa_supplicant xtensa
-- Component paths: D:/!!!__GitHUB_repositories/MustangRadio_develepementVersion/02_Firmware/01_ESP32/VisualGDB_BT_cpp/main/components/ESP32-A2DP-main C:/Espressif/frameworks/esp-idf-v5.0.3/components/app_trace C:/Espressif/frameworks/esp-idf-v5.0.3/components/app_update C:/Espressif/frameworks/esp-idf-v5.0.3/components/bootloader C:/Espressif/frameworks/esp-idf-v5.0.3/components/bootloader_support C:/Espressif/frameworks/esp-idf-v5.0.3/components/bt C:/Espressif/frameworks/esp-idf-v5.0.3/components/cmock C:/Espressif/frameworks/esp-idf-v5.0.3/components/console C:/Espressif/frameworks/esp-idf-v5.0.3/components/cxx C:/Espressif/frameworks/esp-idf-v5.0.3/components/driver C:/Espressif/frameworks/esp-idf-v5.0.3/components/efuse C:/Espressif/frameworks/esp-idf-v5.0.3/components/esp-tls C:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_adc C:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_app_format C:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_common C:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_eth C:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_event C:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_gdbstub C:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_hid C:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_http_client C:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_http_server C:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_https_ota C:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_https_server C:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_hw_support C:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_lcd C:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_local_ctrl C:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_netif C:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_partition C:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_phy C:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_pm C:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_psram C:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_ringbuf C:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_rom C:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_system C:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_timer C:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_wifi C:/Espressif/frameworks/esp-idf-v5.0.3/components/espcoredump C:/Espressif/frameworks/esp-idf-v5.0.3/components/esptool_py C:/Espressif/frameworks/esp-idf-v5.0.3/components/fatfs C:/Espressif/frameworks/esp-idf-v5.0.3/components/freertos C:/Espressif/frameworks/esp-idf-v5.0.3/components/hal C:/Espressif/frameworks/esp-idf-v5.0.3/components/heap C:/Espressif/frameworks/esp-idf-v5.0.3/components/http_parser C:/Espressif/frameworks/esp-idf-v5.0.3/components/idf_test C:/Espressif/frameworks/esp-idf-v5.0.3/components/ieee802154 C:/Espressif/frameworks/esp-idf-v5.0.3/components/json C:/Espressif/frameworks/esp-idf-v5.0.3/components/log C:/Espressif/frameworks/esp-idf-v5.0.3/components/lwip D:/!!!__GitHUB_repositories/MustangRadio_develepementVersion/02_Firmware/01_ESP32/VisualGDB_BT_cpp/main C:/Espressif/frameworks/esp-idf-v5.0.3/components/mbedtls C:/Espressif/frameworks/esp-idf-v5.0.3/components/mqtt C:/Espressif/frameworks/esp-idf-v5.0.3/components/newlib C:/Espressif/frameworks/esp-idf-v5.0.3/components/nvs_flash C:/Espressif/frameworks/esp-idf-v5.0.3/components/openthread C:/Espressif/frameworks/esp-idf-v5.0.3/components/partition_table C:/Espressif/frameworks/esp-idf-v5.0.3/components/perfmon C:/Espressif/frameworks/esp-idf-v5.0.3/components/protobuf-c C:/Espressif/frameworks/esp-idf-v5.0.3/components/protocomm C:/Espressif/frameworks/esp-idf-v5.0.3/components/pthread C:/Espressif/frameworks/esp-idf-v5.0.3/components/sdmmc C:/Espressif/frameworks/esp-idf-v5.0.3/components/soc C:/Espressif/frameworks/esp-idf-v5.0.3/components/spi_flash C:/Espressif/frameworks/esp-idf-v5.0.3/components/spiffs C:/Espressif/frameworks/esp-idf-v5.0.3/components/tcp_transport C:/Espressif/frameworks/esp-idf-v5.0.3/components/ulp C:/Espressif/frameworks/esp-idf-v5.0.3/components/unity C:/Espressif/frameworks/esp-idf-v5.0.3/components/usb C:/Espressif/frameworks/esp-idf-v5.0.3/components/vfs C:/Espressif/frameworks/esp-idf-v5.0.3/components/wear_levelling C:/Espressif/frameworks/esp-idf-v5.0.3/components/wifi_provisioning C:/Espressif/frameworks/esp-idf-v5.0.3/components/wpa_supplicant C:/Espressif/frameworks/esp-idf-v5.0.3/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: D:/!!!__GitHUB_repositories/MustangRadio_develepementVersion/02_Firmware/01_ESP32/VisualGDB_BT_cpp/build
[3/16] Building CXX object esp-idf/ESP32-A2DP-main/CMakeFi...df_ESP32-A2DP-main.dir/src/BluetoothA2DPSinkQueued.cpp.objFAILED: esp-idf/ESP32-A2DP-main/CMakeFiles/__idf_ESP32-A2DP-main.dir/src/BluetoothA2DPSinkQueued.cpp.obj
ccache C:\Espressif\tools\xtensa-esp32-elf\esp-2022r1-11.2.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-g++.exe -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -ID:/!!!__GitHUB_repositories/MustangRadio_develepementVersion/02_Firmware/01_ESP32/VisualGDB_BT_cpp/build/config -ID:/!!!__GitHUB_repositories/MustangRadio_develepementVersion/02_Firmware/01_ESP32/VisualGDB_BT_cpp/main/components/ESP32-A2DP-main/src -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/newlib/platform_include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/freertos/FreeRTOS-Kernel/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/freertos/esp_additions/include/freertos -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/freertos/FreeRTOS-Kernel/portable/xtensa/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/freertos/esp_additions/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_hw_support/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_hw_support/include/soc -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_hw_support/include/soc/esp32 -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_hw_support/port/esp32/. -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_hw_support/port/esp32/private_include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/heap/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/log/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/soc/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/soc/esp32/. -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/soc/esp32/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/hal/esp32/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/hal/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/hal/platform_port/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_rom/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_rom/include/esp32 -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_rom/esp32 -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_common/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_system/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_system/port/soc -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_system/port/include/private -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/xtensa/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/xtensa/esp32/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/lwip/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/lwip/include/apps -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/lwip/include/apps/sntp -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/lwip/lwip/src/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/lwip/port/esp32/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/lwip/port/esp32/include/arch -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/bt/include/esp32/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/bt/common/osi/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/bt/common/api/include/api -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/bt/common/btc/profile/esp/blufi/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/bt/common/btc/profile/esp/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/bt/host/bluedroid/api/include/api -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/bt/porting/ext/tinycrypt/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_timer/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_wifi/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_event/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_phy/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_phy/esp32/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_netif/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/nvs_flash/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_partition/include -mlongcalls -Wno-frame-address -fdiagnostics-color=always -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 -Wno-enum-conversion -gdwarf-4 -ggdb -Og -fmacro-prefix-map=D:/!!!__GitHUB_repositories/MustangRadio_develepementVersion/02_Firmware/01_ESP32/VisualGDB_BT_cpp=. -fmacro-prefix-map=C:/Espressif/frameworks/esp-idf-v5.0.3=/IDF -fstrict-volatile-bitfields -Wno-error=unused-but-set-variable -fno-jump-tables -fno-tree-switch-conversion -DconfigENABLE_FREERTOS_DEBUG_OCDAWARE=1 -std=gnu++20 -fexceptions -frtti -D_GNU_SOURCE -DIDF_VER="v5.0.3-dirty" -DESP_PLATFORM -D_POSIX_READER_WRITER_LOCKS -Wno-unused-variable -Wno-missing-field-initializers -fpermissive -MD -MT esp-idf/ESP32-A2DP-main/CMakeFiles/__idf_ESP32-A2DP-main.dir/src/BluetoothA2DPSinkQueued.cpp.obj -MF esp-idf\ESP32-A2DP-main\CMakeFiles__idf_ESP32-A2DP-main.dir\src\BluetoothA2DPSinkQueued.cpp.obj.d -o esp-idf/ESP32-A2DP-main/CMakeFiles/__idf_ESP32-A2DP-main.dir/src/BluetoothA2DPSinkQueued.cpp.obj -c D:/!!!__GitHUB_repositories/MustangRadio_develepementVersion/02_Firmware/01_ESP32/VisualGDB_BT_cpp/main/components/ESP32-A2DP-main/src/BluetoothA2DPSinkQueued.cpp
In file included from D:/!!!__GitHUB_repositories/MustangRadio_develepementVersion/02_Firmware/01_ESP32/VisualGDB_BT_cpp/main/components/ESP32-A2DP-main/src/BluetoothA2DPSink.h:18,
from D:/!!!__GitHUB_repositories/MustangRadio_develepementVersion/02_Firmware/01_ESP32/VisualGDB_BT_cpp/main/components/ESP32-A2DP-main/src/BluetoothA2DPSinkQueued.h:3,
from D:/!!!__GitHUB_repositories/MustangRadio_develepementVersion/02_Firmware/01_ESP32/VisualGDB_BT_cpp/main/components/ESP32-A2DP-main/src/BluetoothA2DPSinkQueued.cpp:2:
D:/!!!__GitHUB_repositories/MustangRadio_develepementVersion/02_Firmware/01_ESP32/VisualGDB_BT_cpp/main/components/ESP32-A2DP-main/src/BluetoothA2DPCommon.h:47:10: fatal error: driver/i2s.h: No such file or directory
47 | #include "driver/i2s.h"
| ^~~~~~~~~~~~~~
compilation terminated.
[4/16] Building CXX object esp-idf/ESP32-A2DP-main/CMakeFiles/__idf_ESP32-A2DP-main.dir/src/BluetoothA2DPSink.cpp.objFAILED: esp-idf/ESP32-A2DP-main/CMakeFiles/__idf_ESP32-A2DP-main.dir/src/BluetoothA2DPSink.cpp.obj
ccache C:\Espressif\tools\xtensa-esp32-elf\esp-2022r1-11.2.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-g++.exe -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -ID:/!!!__GitHUB_repositories/MustangRadio_develepementVersion/02_Firmware/01_ESP32/VisualGDB_BT_cpp/build/config -ID:/!!!__GitHUB_repositories/MustangRadio_develepementVersion/02_Firmware/01_ESP32/VisualGDB_BT_cpp/main/components/ESP32-A2DP-main/src -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/newlib/platform_include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/freertos/FreeRTOS-Kernel/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/freertos/esp_additions/include/freertos -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/freertos/FreeRTOS-Kernel/portable/xtensa/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/freertos/esp_additions/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_hw_support/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_hw_support/include/soc -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_hw_support/include/soc/esp32 -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_hw_support/port/esp32/. -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_hw_support/port/esp32/private_include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/heap/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/log/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/soc/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/soc/esp32/. -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/soc/esp32/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/hal/esp32/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/hal/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/hal/platform_port/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_rom/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_rom/include/esp32 -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_rom/esp32 -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_common/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_system/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_system/port/soc -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_system/port/include/private -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/xtensa/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/xtensa/esp32/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/lwip/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/lwip/include/apps -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/lwip/include/apps/sntp -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/lwip/lwip/src/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/lwip/port/esp32/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/lwip/port/esp32/include/arch -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/bt/include/esp32/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/bt/common/osi/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/bt/common/api/include/api -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/bt/common/btc/profile/esp/blufi/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/bt/common/btc/profile/esp/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/bt/host/bluedroid/api/include/api -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/bt/porting/ext/tinycrypt/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_timer/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_wifi/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_event/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_phy/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_phy/esp32/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_netif/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/nvs_flash/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_partition/include -mlongcalls -Wno-frame-address -fdiagnostics-color=always -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 -Wno-enum-conversion -gdwarf-4 -ggdb -Og -fmacro-prefix-map=D:/!!!__GitHUB_repositories/MustangRadio_develepementVersion/02_Firmware/01_ESP32/VisualGDB_BT_cpp=. -fmacro-prefix-map=C:/Espressif/frameworks/esp-idf-v5.0.3=/IDF -fstrict-volatile-bitfields -Wno-error=unused-but-set-variable -fno-jump-tables -fno-tree-switch-conversion -DconfigENABLE_FREERTOS_DEBUG_OCDAWARE=1 -std=gnu++20 -fexceptions -frtti -D_GNU_SOURCE -DIDF_VER="v5.0.3-dirty" -DESP_PLATFORM -D_POSIX_READER_WRITER_LOCKS -Wno-unused-variable -Wno-missing-field-initializers -fpermissive -MD -MT esp-idf/ESP32-A2DP-main/CMakeFiles/__idf_ESP32-A2DP-main.dir/src/BluetoothA2DPSink.cpp.obj -MF esp-idf\ESP32-A2DP-main\CMakeFiles__idf_ESP32-A2DP-main.dir\src\BluetoothA2DPSink.cpp.obj.d -o esp-idf/ESP32-A2DP-main/CMakeFiles/__idf_ESP32-A2DP-main.dir/src/BluetoothA2DPSink.cpp.obj -c D:/!!!__GitHUB_repositories/MustangRadio_develepementVersion/02_Firmware/01_ESP32/VisualGDB_BT_cpp/main/components/ESP32-A2DP-main/src/BluetoothA2DPSink.cpp
In file included from D:/!!!__GitHUB_repositories/MustangRadio_develepementVersion/02_Firmware/01_ESP32/VisualGDB_BT_cpp/main/components/ESP32-A2DP-main/src/BluetoothA2DPSink.h:18,
from D:/!!!__GitHUB_repositories/MustangRadio_develepementVersion/02_Firmware/01_ESP32/VisualGDB_BT_cpp/main/components/ESP32-A2DP-main/src/BluetoothA2DPSink.cpp:16:
D:/!!!__GitHUB_repositories/MustangRadio_develepementVersion/02_Firmware/01_ESP32/VisualGDB_BT_cpp/main/components/ESP32-A2DP-main/src/BluetoothA2DPCommon.h:47:10: fatal error: driver/i2s.h: No such file or directory
47 | #include "driver/i2s.h"
| ^~~~~~~~~~~~~~
compilation terminated.
[5/16] Building CXX object esp-idf/ESP32-A2DP-main/CMakeFiles/__idf_ESP32-A2DP-main.dir/src/BluetoothA2DPCommon.cpp.objFAILED: esp-idf/ESP32-A2DP-main/CMakeFiles/__idf_ESP32-A2DP-main.dir/src/BluetoothA2DPCommon.cpp.obj
ccache C:\Espressif\tools\xtensa-esp32-elf\esp-2022r1-11.2.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-g++.exe -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -ID:/!!!__GitHUB_repositories/MustangRadio_develepementVersion/02_Firmware/01_ESP32/VisualGDB_BT_cpp/build/config -ID:/!!!__GitHUB_repositories/MustangRadio_develepementVersion/02_Firmware/01_ESP32/VisualGDB_BT_cpp/main/components/ESP32-A2DP-main/src -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/newlib/platform_include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/freertos/FreeRTOS-Kernel/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/freertos/esp_additions/include/freertos -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/freertos/FreeRTOS-Kernel/portable/xtensa/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/freertos/esp_additions/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_hw_support/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_hw_support/include/soc -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_hw_support/include/soc/esp32 -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_hw_support/port/esp32/. -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_hw_support/port/esp32/private_include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/heap/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/log/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/soc/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/soc/esp32/. -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/soc/esp32/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/hal/esp32/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/hal/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/hal/platform_port/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_rom/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_rom/include/esp32 -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_rom/esp32 -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_common/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_system/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_system/port/soc -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_system/port/include/private -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/xtensa/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/xtensa/esp32/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/lwip/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/lwip/include/apps -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/lwip/include/apps/sntp -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/lwip/lwip/src/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/lwip/port/esp32/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/lwip/port/esp32/include/arch -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/bt/include/esp32/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/bt/common/osi/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/bt/common/api/include/api -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/bt/common/btc/profile/esp/blufi/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/bt/common/btc/profile/esp/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/bt/host/bluedroid/api/include/api -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/bt/porting/ext/tinycrypt/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_timer/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_wifi/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_event/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_phy/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_phy/esp32/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_netif/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/nvs_flash/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_partition/include -mlongcalls -Wno-frame-address -fdiagnostics-color=always -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 -Wno-enum-conversion -gdwarf-4 -ggdb -Og -fmacro-prefix-map=D:/!!!__GitHUB_repositories/MustangRadio_develepementVersion/02_Firmware/01_ESP32/VisualGDB_BT_cpp=. -fmacro-prefix-map=C:/Espressif/frameworks/esp-idf-v5.0.3=/IDF -fstrict-volatile-bitfields -Wno-error=unused-but-set-variable -fno-jump-tables -fno-tree-switch-conversion -DconfigENABLE_FREERTOS_DEBUG_OCDAWARE=1 -std=gnu++20 -fexceptions -frtti -D_GNU_SOURCE -DIDF_VER="v5.0.3-dirty" -DESP_PLATFORM -D_POSIX_READER_WRITER_LOCKS -Wno-unused-variable -Wno-missing-field-initializers -fpermissive -MD -MT esp-idf/ESP32-A2DP-main/CMakeFiles/__idf_ESP32-A2DP-main.dir/src/BluetoothA2DPCommon.cpp.obj -MF esp-idf\ESP32-A2DP-main\CMakeFiles__idf_ESP32-A2DP-main.dir\src\BluetoothA2DPCommon.cpp.obj.d -o esp-idf/ESP32-A2DP-main/CMakeFiles/__idf_ESP32-A2DP-main.dir/src/BluetoothA2DPCommon.cpp.obj -c D:/!!!__GitHUB_repositories/MustangRadio_develepementVersion/02_Firmware/01_ESP32/VisualGDB_BT_cpp/main/components/ESP32-A2DP-main/src/BluetoothA2DPCommon.cpp
In file included from D:/!!!__GitHUB_repositories/MustangRadio_develepementVersion/02_Firmware/01_ESP32/VisualGDB_BT_cpp/main/components/ESP32-A2DP-main/src/BluetoothA2DPCommon.cpp:16:
D:/!!!__GitHUB_repositories/MustangRadio_develepementVersion/02_Firmware/01_ESP32/VisualGDB_BT_cpp/main/components/ESP32-A2DP-main/src/BluetoothA2DPCommon.h:47:10: fatal error: driver/i2s.h: No such file or directory
47 | #include "driver/i2s.h"
| ^~~~~~~~~~~~~~
compilation terminated.
[6/16] Building CXX object esp-idf/ESP32-A2DP-main/CMakeFiles/__idf_ESP32-A2DP-main.dir/src/BluetoothA2DPSource.cpp.objFAILED: esp-idf/ESP32-A2DP-main/CMakeFiles/__idf_ESP32-A2DP-main.dir/src/BluetoothA2DPSource.cpp.obj
ccache C:\Espressif\tools\xtensa-esp32-elf\esp-2022r1-11.2.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-g++.exe -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -ID:/!!!__GitHUB_repositories/MustangRadio_develepementVersion/02_Firmware/01_ESP32/VisualGDB_BT_cpp/build/config -ID:/!!!__GitHUB_repositories/MustangRadio_develepementVersion/02_Firmware/01_ESP32/VisualGDB_BT_cpp/main/components/ESP32-A2DP-main/src -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/newlib/platform_include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/freertos/FreeRTOS-Kernel/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/freertos/esp_additions/include/freertos -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/freertos/FreeRTOS-Kernel/portable/xtensa/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/freertos/esp_additions/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_hw_support/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_hw_support/include/soc -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_hw_support/include/soc/esp32 -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_hw_support/port/esp32/. -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_hw_support/port/esp32/private_include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/heap/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/log/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/soc/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/soc/esp32/. -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/soc/esp32/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/hal/esp32/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/hal/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/hal/platform_port/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_rom/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_rom/include/esp32 -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_rom/esp32 -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_common/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_system/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_system/port/soc -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_system/port/include/private -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/xtensa/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/xtensa/esp32/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/lwip/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/lwip/include/apps -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/lwip/include/apps/sntp -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/lwip/lwip/src/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/lwip/port/esp32/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/lwip/port/esp32/include/arch -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/bt/include/esp32/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/bt/common/osi/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/bt/common/api/include/api -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/bt/common/btc/profile/esp/blufi/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/bt/common/btc/profile/esp/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/bt/host/bluedroid/api/include/api -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/bt/porting/ext/tinycrypt/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_timer/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_wifi/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_event/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_phy/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_phy/esp32/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_netif/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/nvs_flash/include -IC:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_partition/include -mlongcalls -Wno-frame-address -fdiagnostics-color=always -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 -Wno-enum-conversion -gdwarf-4 -ggdb -Og -fmacro-prefix-map=D:/!!!__GitHUB_repositories/MustangRadio_develepementVersion/02_Firmware/01_ESP32/VisualGDB_BT_cpp=. -fmacro-prefix-map=C:/Espressif/frameworks/esp-idf-v5.0.3=/IDF -fstrict-volatile-bitfields -Wno-error=unused-but-set-variable -fno-jump-tables -fno-tree-switch-conversion -DconfigENABLE_FREERTOS_DEBUG_OCDAWARE=1 -std=gnu++20 -fexceptions -frtti -D_GNU_SOURCE -DIDF_VER="v5.0.3-dirty" -DESP_PLATFORM -D_POSIX_READER_WRITER_LOCKS -Wno-unused-variable -Wno-missing-field-initializers -fpermissive -MD -MT esp-idf/ESP32-A2DP-main/CMakeFiles/__idf_ESP32-A2DP-main.dir/src/BluetoothA2DPSource.cpp.obj -MF esp-idf\ESP32-A2DP-main\CMakeFiles__idf_ESP32-A2DP-main.dir\src\BluetoothA2DPSource.cpp.obj.d -o esp-idf/ESP32-A2DP-main/CMakeFiles/__idf_ESP32-A2DP-main.dir/src/BluetoothA2DPSource.cpp.obj -c D:/!!!__GitHUB_repositories/MustangRadio_develepementVersion/02_Firmware/01_ESP32/VisualGDB_BT_cpp/main/components/ESP32-A2DP-main/src/BluetoothA2DPSource.cpp
In file included from D:/!!!__GitHUB_repositories/MustangRadio_develepementVersion/02_Firmware/01_ESP32/VisualGDB_BT_cpp/main/components/ESP32-A2DP-main/src/BluetoothA2DPSource.h:22,
from D:/!!!__GitHUB_repositories/MustangRadio_develepementVersion/02_Firmware/01_ESP32/VisualGDB_BT_cpp/main/components/ESP32-A2DP-main/src/BluetoothA2DPSource.cpp:16:
D:/!!!__GitHUB_repositories/MustangRadio_develepementVersion/02_Firmware/01_ESP32/VisualGDB_BT_cpp/main/components/ESP32-A2DP-main/src/BluetoothA2DPCommon.h:47:10: fatal error: driver/i2s.h: No such file or directory
47 | #include "driver/i2s.h"
| ^~~~~~~~~~~~~~
compilation terminated.
[0/1] Re-running CMake...-- Building ESP-IDF components for target esp32
-- Project sdkconfig file D:/!!!__GitHUB_repositories/MustangRadio_develepementVersion/02_Firmware/01_ESP32/VisualGDB_BT_cpp/sdkconfig
-- Adding linker script C:/Espressif/frameworks/esp-idf-v5.0.3/components/soc/esp32/ld/esp32.peripherals.ld
-- App "bootloader" version: v5.0.3-dirty
-- Adding linker script C:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_rom/esp32/ld/esp32.rom.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_rom/esp32/ld/esp32.rom.api.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-v5.0.3/components/bootloader/subproject/main/ld/esp32/bootloader.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-v5.0.3/components/bootloader/subproject/main/ld/esp32/bootloader.rom.ld
-- Components: bootloader bootloader_support efuse esp_app_format 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: C:/Espressif/frameworks/esp-idf-v5.0.3/components/bootloader C:/Espressif/frameworks/esp-idf-v5.0.3/components/bootloader_support C:/Espressif/frameworks/esp-idf-v5.0.3/components/efuse C:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_app_format C:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_common C:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_hw_support C:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_rom C:/Espressif/frameworks/esp-idf-v5.0.3/components/esp_system C:/Espressif/frameworks/esp-idf-v5.0.3/components/esptool_py C:/Espressif/frameworks/esp-idf-v5.0.3/components/freertos C:/Espressif/frameworks/esp-idf-v5.0.3/components/hal C:/Espressif/frameworks/esp-idf-v5.0.3/components/log C:/Espressif/frameworks/esp-idf-v5.0.3/components/bootloader/subproject/main C:/Espressif/frameworks/esp-idf-v5.0.3/components/bootloader/subproject/components/micro-ecc C:/Espressif/frameworks/esp-idf-v5.0.3/components/newlib C:/Espressif/frameworks/esp-idf-v5.0.3/components/partition_table C:/Espressif/frameworks/esp-idf-v5.0.3/components/soc C:/Espressif/frameworks/esp-idf-v5.0.3/components/spi_flash C:/Espressif/frameworks/esp-idf-v5.0.3/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: D:/!!!__GitHUB_repositories/MustangRadio_develepementVersion/02_Firmware/01_ESP32/VisualGDB_BT_cpp/build/bootloader
[1/1] cmd.exe /C "cd /D D:!!!__GitHUB_repositories\Mustan...01_ESP32/VisualGDB_BT_cpp/build/bootloader/bootloader.bin"Bootloader binary size 0x6740 bytes. 0x8c0 bytes (8%) free.
ninja: build stopped: subcommand failed.
HINT: Please make sure that the header name is correct. Also please check if you've specified all component dependencies with 'idf_component_register(REQUIRES ...)'. If the component is not present then it should be added by the IDF Component Manager. For more information run 'idf.py docs -sp api-guides/build-system.html'.
Also, please check if the header file has been removed, renamed or relocated - refer to the migration guide for more information.
ninja failed with exit code 1, output of the command is in the D:!!!__GitHUB_repositories\MustangRadio_develepementVersion\02_Firmware\01_ESP32\VisualGDB_BT_cpp\build\log\idf_py_stderr_output_23276 and D:!!!__GitHUB_repositories\MustangRadio_develepementVersion\02_Firmware\01_ESP32\VisualGDB_BT_cpp\build\log\idf_py_stdout_output_23276
PS D:!!!__GitHUB_repositories\MustangRadio_develepementVersion\02_Firmware\01_ESP32\VisualGDB_BT_cpp>
Who is online
Users browsing this forum: No registered users and 95 guests