我在VS code下IDF编译ESP32-C2的a2dp sink例程序,报错:
G:/EPS32_S3/ESP32_C3/a2dp_sink/main/bt_app_av.c:269:(.text.volume_set_by_local_host+0x98): undefined reference to `esp_avrc_tg_send_rn_rsp'
C:/Users/HUA/.espressif/tools/riscv32-esp-elf/esp-14.2.0_20241119/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/14.2.0/../../../../riscv32-esp-elf/bin/ld.exe: esp-idf/main/libmain.a(bt_app_av.c.obj): in function `bt_av_hdl_avrc_tg_evt':
G:/EPS32_S3/ESP32_C3/a2dp_sink/main/bt_app_av.c:592:(.text.bt_av_hdl_avrc_tg_evt+0x206): undefined reference to `esp_avrc_tg_send_rn_rsp'
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
* The terminal process "C:\Users\HUA\.espressif\tools\ninja\1.12.1\ninja.EXE" terminated with exit code: 1.
无论选择是ESP32-C3/ESP32-S3/ESP32-P都是一样的错误,看提示好像是没有加载什么库一样,但我直接用IDF下的例程无修改编译的
VS code下IDF编译ESP32-C2的a2dp sink例程序,报错:
Who is online
Users browsing this forum: No registered users and 1 guest
