esp-adf icon indicating copy to clipboard operation
esp-adf copied to clipboard

Error in build when using custom audio board (AUD-5324)

Open Pooria4484 opened this issue 10 months ago • 1 comments

Hi, when I use cusom audio board in menuconfig>Audio board>.

and building example a2dp_sink_and_hfp_example, build stopped.

build error:

~/.espressif/esp-adf/components/display_service/display_service.c:34:10: fatal error: board.h: No such file or directory 34 | #include "board.h" | ^~~~~~~~~ compilation terminated. [1264/1612] Building C object esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/src/manager.c.obj ninja: build stopped: subcommand failed.

  • Audio Board: Custom Audio Board
  • Module used: ESP32-S3-WROOM-1
  • IDF version v5.2
  • ADF version v2.6-86-g1a03fe6a
  • Build system: idf.py
  • Compiler version: xtensa-esp-elf-gcc (crosstool-NG esp-13.2.0_20230928) 13.2.0
  • Operating system: macOS
  • Using VScode

Pooria4484 avatar Apr 05 '24 20:04 Pooria4484

@Pooria4484 Did you create a new board folder(like https://github.com/espressif/esp-adf/tree/master/examples/get-started/play_mp3_control/components/my_board/my_board_v1_0) in your project when you select the custom audio board?

jason-mao avatar Apr 07 '24 02:04 jason-mao

This topic has become inactive so I'm going to close the issue. Please reopen this if you have any questions or need any further assistance.

jason-mao avatar Jul 31 '24 10:07 jason-mao