espressif / esp-adf

Espressif Audio Development Framework
Other
1.54k stars 677 forks source link

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

Closed Pooria4484 closed 2 months ago

Pooria4484 commented 6 months ago

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.

jason-mao commented 5 months ago

@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 commented 2 months ago

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.