Hi Nordic support,
I have been evaluating the nrf5340 audio DK and recently run into a build issue with the example application. I have been able to successfully build the project for the headset example but not the one for the gateway.
I modified the project to build for the gateway in the Kconfig file using the nrfConnect plugin for VScode as seen below.

Here's the error I get when building the project for the gateway
[353/364] Linking C static library zephyr\kernel\libkernel.a
[354/364] Linking C executable zephyr\zephyr_pre0.elf
FAILED: zephyr/zephyr_pre0.elf zephyr/zephyr_pre0.map
cmd.exe /C "cd . && C:\ncs\toolchains\v2.0.0\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe @CMakeFiles\zephyr_pre0.rsp -o zephyr\zephyr_pre0.elf && cmd.exe /C "cd /D C:\Users\huy.dang\Documents\nrf_connect_sdk\sample\nrf5340_audio\build\zephyr && C:\ncs\toolchains\v2.0.0\opt\bin\cmake.exe -E echo ""
c:/ncs/toolchains/v2.0.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.3.0/../../../../arm-zephyr-eabi/bin/ld.exe: app/libapp.a(ble_acl_gateway.c.obj): in function `device_found':
C:\Users\huy.dang\Documents\nrf_connect_sdk\sample\nrf5340_audio\src\bluetooth\ble_acl_gateway.c:77: undefined reference to `bt_conn_le_create'
c:/ncs/toolchains/v2.0.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.3.0/../../../../arm-zephyr-eabi/bin/ld.exe: C:\Users\huy.dang\Documents\nrf_connect_sdk\sample\nrf5340_audio\src\bluetooth\ble_acl_gateway.c:62: undefined reference to `bt_conn_le_create'
c:/ncs/toolchains/v2.0.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.3.0/../../../../arm-zephyr-eabi/bin/ld.exe: app/libapp.a(audio_usb.c.obj): in function `audio_usb_init':
C:\Users\huy.dang\Documents\nrf_connect_sdk\sample\nrf5340_audio\src\modules\audio_usb.c:179: undefined reference to `usb_audio_register'
c:/ncs/toolchains/v2.0.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.3.0/../../../../arm-zephyr-eabi/bin/ld.exe: C:\Users\huy.dang\Documents\nrf_connect_sdk\sample\nrf5340_audio\src\modules\audio_usb.c:181: undefined reference to `usb_enable'
c:/ncs/toolchains/v2.0.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.3.0/../../../../arm-zephyr-eabi/bin/ld.exe: C:\Users\huy.dang\Documents\nrf_connect_sdk\sample\nrf5340_audio\src\modules\audio_usb.c:176: undefined reference to `__device_dts_ord_140'
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: 'c:\ncs\toolchains\v2.0.0\opt\bin\cmake.EXE' --build 'c:\Users\huy.dang\Documents\nrf_connect_sdk\sample\nrf5340_audio\build'
* The terminal process terminated with exit code: 1.
* Terminal will be reused by tasks, press any key to close it.
For now, I can follow the instructions and build the gateway code using the provided script as described here but I would like to be able to build it on VScode so I can modify the source code as I'm interested in in using the application code on a custom board.
Looking forward to hearing back from you guys!