Environment
- Audio development kit: [ESP32-S3-BOX-3]
- Audio kit version (ESP32-S3-BOX-3]
- [Required] Module or chip used: [ESP32-S3-BOX-3]
- [Required] IDF version:
% git describe --tags
v5.5.3
% git describe --tags
v2.8
- Build system: [VSCode get-started/pipeline_a2dp_sink_and_hfp Default Build system]
- [Required] Running log: All logs from power-on to problem recurrence
- Compiler version :
xtensa-esp-elf-gcc (crosstool-NG esp-14.2.0_20251107) 14.2.0
- Operating system: [macOS]
- Using an IDE?: [VS Code]
- Power supply: [USB]
Problem Description
get-started/pipeline_a2dp_sink_and_hfp Build failed.
[4/10] Completed 'bootloader'
ninja: build stopped: subcommand failed.
The terminal process "ninja" terminated with exit code: 1.
get-started/pipeline_tcp_client Build Success
get-started/play_mp3_control Build Success
Expected Behavior
build success
Actual Behavior
[4/10] Completed 'bootloader'
ninja: build stopped: subcommand failed.
The terminal process "ninja" terminated with exit code: 1.
Steps to Reproduce
- VS Code - Open Folder
- Select get-started/pipeline_a2dp_sink_and_hfp
- Select Current ESP-IDF Version: v5.5.3
- Set Device Target: esp32s3
- menuconfig did not change any thing, or chang Audio HAL to ESP32-S3-BOX-3, the error happened during build project, not after flash.
- Build Project
Code to Reproduce This Issue
get-started/pipeline_a2dp_sink_and_hfp did not change any code
Debug Logs
log1.txt
...
[122/123] Generating binary image from built executable
esptool.py v4.12.dev1
Creating esp32s3 image...
Merged 2 ELF sections
Successfully created esp32s3 image.
Generated /Users/liuxue/dev/espressif/esp-adf-projects/examples/get-started/pipeline_a2dp_sink_and_hfp/build/bootloader/bootloader.bin
[123/123] cd /Users/liuxue/dev/espressif/esp-adf-projects/examples/get-started/pipeline_a2dp_sink_and_hfp/build/bootloader/esp-idf/esptool_py && /Users/liuxue/.espressif/python_env/idf5.5_py3.14_env/bin/python /Users/liuxue/esp/v5.5.3/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x0 /Users/liuxue/dev/espressif/esp-adf-projects/examples/get-started/pipeline_a2dp_sink_and_hfp/build/bootloader/bootloader.bin
Bootloader binary size 0x5160 bytes. 0x2ea0 bytes (36%) free.
ninja: build stopped: subcommand failed.
* The terminal process "ninja" terminated with exit code: 1.
If i deleted the code related of PERIPH_BLUETOOTH_DISCONNECTED, Build failed did not solved:
// if (msg.cmd == PERIPH_BLUETOOTH_DISCONNECTED) {
// ESP_LOGW(TAG, "[ * ] Bluetooth disconnected");
// break;
// }
log2.txt
...
./../../../xtensa-esp-elf/bin/ld: /Users/liuxue/dev/espressif/esp-adf-projects/examples/get-started/pipeline_a2dp_sink_and_hfp/main/a2dp_sink_and_hfp_example.c:548:(.text.app_main+0x674): undefined reference to `bluetooth_service_destroy'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
* The terminal process "ninja" terminated with exit code: 1.
log1.txt
log2.txt
Environment
xtensa-esp-elf-gcc (crosstool-NG esp-14.2.0_20251107) 14.2.0
Problem Description
get-started/pipeline_a2dp_sink_and_hfpBuild failed.get-started/pipeline_tcp_clientBuild Successget-started/play_mp3_controlBuild SuccessExpected Behavior
build success
Actual Behavior
Steps to Reproduce
Code to Reproduce This Issue
get-started/pipeline_a2dp_sink_and_hfp did not change any code
Debug Logs
If i deleted the code related of
PERIPH_BLUETOOTH_DISCONNECTED, Build failed did not solved:log1.txt
log2.txt