Hello,
I want to get the software for nrf5340 audio dk running on a custom board hardware. For that I created a custom board with the VS code plugin. For the beginning
I did´nt changed anything in the code, cause I just want to compile the audio dk software with a custom board. I compared the whole board files of the nrf5340 audio dk board and my new created custom board. They seem to be identical besides of the custom name.
So now my problem:
I can compile the sample audio dk software from SDK toolchain v2.9.1 without error with the nrf5340 board files.
When I try to use custom board files i always get a compile error at IPC Radio. And I don´t know how to solve it.
I added the log as txt.
I can imagine that this is not a big problem for most of you.
Best regards
Contax
Executing task: nRF Connect: Generate config nrf5340_headset/nrf5340/cpuapp for c:\ncs\v2.9.1\nrf\applications\nrf5340_audio_headset Building nrf5340_audio_headset C:\WINDOWS\system32\cmd.exe /d /s /c "west build --build-dir c:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build c:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset --pristine --board nrf5340_headset/nrf5340/cpuapp -- -DNCS_TOOLCHAIN_VERSION=NONE -DBOARD_ROOT=c:/users/v/desktop/headset/software/coms;c:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset" -- west build: generating a build system Loading Zephyr module(s) (Zephyr base): sysbuild_default -- Found Python3: C:/ncs/toolchains/b620d30767/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter -- Cache files will be written to: C:/ncs/v2.9.1/zephyr/.cache -- Found west (found suitable version "1.2.0", minimum required is "0.14.0") -- Board: nrf5340_headset, qualifiers: nrf5340/cpuapp Parsing c:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/Kconfig.sysbuild Loaded configuration 'C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/_sysbuild/empty.conf' Merged configuration 'C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/_sysbuild/empty.conf' Configuration saved to 'C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/zephyr/.config' Kconfig header saved to 'C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/_sysbuild/autoconf.h' -- ******************************************* * Running CMake for nrf5340_audio_headset * ******************************************* Loading Zephyr default modules (Zephyr base). -- Application: C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset -- CMake version: 3.21.0 -- Found Python3: C:/ncs/toolchains/b620d30767/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter -- Cache files will be written to: C:/ncs/v2.9.1/zephyr/.cache -- Zephyr version: 3.7.99 (C:/ncs/v2.9.1/zephyr) -- Found west (found suitable version "1.2.0", minimum required is "0.14.0") -- Board: nrf5340_headset, qualifiers: nrf5340/cpuapp -- Found host-tools: zephyr 0.17.0 (C:/ncs/toolchains/b620d30767/opt/zephyr-sdk) -- Found toolchain: zephyr 0.17.0 (C:/ncs/toolchains/b620d30767/opt/zephyr-sdk) -- Found Dtc: C:/ncs/toolchains/b620d30767/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") -- Found BOARD.dts: C:/Users/V/Desktop/headset/software/COMS/boards/privat/nrf5340_headset/nrf5340_headset_nrf5340_cpuapp.dts -- Generated zephyr.dts: C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/nrf5340_audio_headset/zephyr/zephyr.dts -- Generated devicetree_generated.h: C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/nrf5340_audio_headset/zephyr/include/generated/zephyr/devicetree_generated.h -- Including generated dts.cmake file: C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/nrf5340_audio_headset/zephyr/dts.cmake warning: Experimental symbol NRF5340_AUDIO is enabled. Parsing C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/Kconfig Loaded configuration 'C:/Users/V/Desktop/headset/software/COMS/boards/privat/nrf5340_headset/nrf5340_headset_nrf5340_cpuapp_defconfig' Merged configuration 'C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/prj.conf' Merged configuration 'C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/nrf5340_audio_headset/zephyr/.config.sysbuild' Configuration saved to 'C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/nrf5340_audio_headset/zephyr/.config' Kconfig header saved to 'C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/nrf5340_audio_headset/zephyr/include/generated/zephyr/autoconf.h' -- Found GnuLd: c:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd.exe (found version "2.38") -- The C compiler identification is GNU 12.2.0 -- The CXX compiler identification is GNU 12.2.0 -- The ASM compiler identification is GNU -- Found assembler: C:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe -- Build type: -- libmetal version: 1.6.0 (C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset) -- Host: Windows/AMD64 -- Target: Generic/arm -- Machine: arm -- Looking for include file stdatomic.h -- Looking for include file stdatomic.h - found -- Host: Windows/AMD64 -- open-amp version: 1.6.1 (C:/ncs/v2.9.1/modules/lib/open-amp/open-amp) -- Target: Generic/arm -- Machine: arm -- C_FLAGS : -Wall -Wextra -- Looking for include file fcntl.h -- Looking for include file fcntl.h - found -- Setting build type to 'MinSizeRel' as none was specified. CMake Warning at C:/ncs/v2.9.1/zephyr/CMakeLists.txt:2133 (message): __ASSERT() statements are globally ENABLED CMake Warning at C:/ncs/v2.9.1/zephyr/CMakeLists.txt:2164 (message): The CMake build type was set to 'MinSizeRel', but the optimization flag was set to '-Og'. This may be intentional and the warning can be turned off by setting the CMake variable 'NO_BUILD_TYPE_WARNING' -- Configuring done CMake Warning in C:/Users/V/Desktop/headset/software/COMS/boards/privat/nrf5340_headset/CMakeLists.txt: The object file directory C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/nrf5340_audio_headset/zephyr/boards/boards/arm/nrf5340_headset/CMakeFiles/..__..__..__Users__V__Desktop__headset__software__COMS__boards__privat__nrf5340_headset.dir/./ has 227 characters. The maximum full path to an object file is 250 characters (see CMAKE_OBJECT_PATH_MAX). Object file nrf5340_headset_config.c.obj cannot be safely placed under this directory. The build may not work correctly. -- Generating done -- Build files have been written to: C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/nrf5340_audio_headset -- ******************************* * Running CMake for ipc_radio * ******************************* -- Application: C:/ncs/v2.9.1/nrf/applications/ipc_radio -- CMake version: 3.21.0 Loading Zephyr default modules (Zephyr base). -- Found Python3: C:/ncs/toolchains/b620d30767/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter -- Cache files will be written to: C:/ncs/v2.9.1/zephyr/.cache -- Zephyr version: 3.7.99 (C:/ncs/v2.9.1/zephyr) -- Found west (found suitable version "1.2.0", minimum required is "0.14.0") -- Board: nrf5340_headset, qualifiers: nrf5340/cpunet -- Found host-tools: zephyr 0.17.0 (C:/ncs/toolchains/b620d30767/opt/zephyr-sdk) -- Found toolchain: zephyr 0.17.0 (C:/ncs/toolchains/b620d30767/opt/zephyr-sdk) -- Found Dtc: C:/ncs/toolchains/b620d30767/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") -- Found BOARD.dts: C:/Users/V/Desktop/headset/software/COMS/boards/privat/nrf5340_headset/nrf5340_headset_nrf5340_cpunet.dts -- Generated zephyr.dts: C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/ipc_radio/zephyr/zephyr.dts -- Generated devicetree_generated.h: C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/ipc_radio/zephyr/include/generated/zephyr/devicetree_generated.h -- Including generated dts.cmake file: C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/ipc_radio/zephyr/dts.cmake Parsing C:/ncs/v2.9.1/nrf/applications/ipc_radio/Kconfig Loaded configuration 'C:/Users/V/Desktop/headset/software/COMS/boards/privat/nrf5340_headset/nrf5340_headset_nrf5340_cpunet_defconfig' Merged configuration 'C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/sysbuild/ipc_radio/prj.conf' Merged configuration 'C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/ipc_radio/zephyr/.config.sysbuild' Configuration saved to 'C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/ipc_radio/zephyr/.config' Kconfig header saved to 'C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/ipc_radio/zephyr/include/generated/zephyr/autoconf.h' -- Found GnuLd: c:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd.exe (found version "2.38") -- The C compiler identification is GNU 12.2.0 -- The CXX compiler identification is GNU 12.2.0 -- The ASM compiler identification is GNU -- Found assembler: C:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe -- Build type: -- Host: Windows/AMD64 -- Target: Generic/arm -- libmetal version: 1.6.0 (C:/ncs/v2.9.1/nrf/applications/ipc_radio) -- Machine: arm -- Looking for include file stdatomic.h -- Looking for include file stdatomic.h - found -- open-amp version: 1.6.1 (C:/ncs/v2.9.1/modules/lib/open-amp/open-amp) -- Host: Windows/AMD64 -- Target: Generic/arm -- Machine: arm -- C_FLAGS : -Wall -Wextra -- Looking for include file fcntl.h -- Looking for include file fcntl.h - found -- Setting build type to 'MinSizeRel' as none was specified. -- Configuring done -- Generating done -- Build files have been written to: C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/ipc_radio -- Configuring done -- Generating done -- Build files have been written to: C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build -- west build: building application [4/653] Generating include/generated/zephyr/version.h [648/653] Linking C executable zephyr\zephyr_pre0.elf FAILED: zephyr/zephyr_pre0.elf zephyr/zephyr_pre0.map C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/nrf5340_audio_headset/zephyr/zephyr_pre0.map cmd.exe /C "cd . && C:\ncs\toolchains\b620d30767\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -Os -DNDEBUG -gdwarf-4 -gdwarf-4 @CMakeFiles\zephyr_pre0.rsp -o zephyr\zephyr_pre0.elf -L"c:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/thumb/v8-m.main+fp/hard" -lm -lc -lgcc -lc && cmd.exe /C "cd /D C:\ncs\v2.9.1\nrf\applications\nrf5340_audio_headset\build\nrf5340_audio_headset\zephyr && C:\ncs\toolchains\b620d30767\opt\bin\cmake.exe -E true"" c:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(main.c.obj): in function `zbus_link_producers_observers': C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/unicast_server/main.c:416: undefined reference to `volume_evt_sub' c:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(main.c.obj): in function `main': C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/unicast_server/main.c:525: undefined reference to `nrf5340_audio_dk_init' c:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(audio_system.c.obj): in function `audio_system_start': C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/src/audio/audio_system.c:407: undefined reference to `hw_codec_default_conf_enable' c:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(audio_system.c.obj): in function `audio_system_stop': C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/src/audio/audio_system.c:429: undefined reference to `hw_codec_soft_reset' c:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(audio_system.c.obj): in function `audio_system_init': C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/src/audio/audio_system.c:484: undefined reference to `hw_codec_init' collect2.exe: error: ld returned 1 exit status ninja: build stopped: subcommand failed. [10/20] No configure step for 'ipc_radio' FAILED: _sysbuild/sysbuild/images/nrf5340_audio_headset-prefix/src/nrf5340_audio_headset-stamp/nrf5340_audio_headset-build C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/_sysbuild/sysbuild/images/nrf5340_audio_headset-prefix/src/nrf5340_audio_headset-stamp/nrf5340_audio_headset-build cmd.exe /C "cd /D C:\ncs\v2.9.1\nrf\applications\nrf5340_audio_headset\build\nrf5340_audio_headset && C:\ncs\toolchains\b620d30767\opt\bin\cmake.exe --build ." ninja: build stopped: subcommand failed. FATAL ERROR: command exited with status 1: 'C:\ncs\toolchains\b620d30767\opt\bin\cmake.EXE' --build C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build * The terminal process terminated with exit code: 1. * Terminal will be reused by tasks, press any key to close it. * Executing task: nRF Connect: Generate config nrf5340_headset/nrf5340/cpuapp for c:\ncs\v2.9.1\nrf\applications\nrf5340_audio_headset Building nrf5340_audio_headset C:\WINDOWS\system32\cmd.exe /d /s /c "west build --build-dir c:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build c:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset --pristine --board nrf5340_headset/nrf5340/cpuapp -- -DNCS_TOOLCHAIN_VERSION=NONE -DBOARD_ROOT=c:/users/v/desktop/headset/software/coms;c:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset" -- west build: generating a build system Loading Zephyr module(s) (Zephyr base): sysbuild_default -- Found Python3: C:/ncs/toolchains/b620d30767/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter -- Cache files will be written to: C:/ncs/v2.9.1/zephyr/.cache -- Found west (found suitable version "1.2.0", minimum required is "0.14.0") -- Board: nrf5340_headset, qualifiers: nrf5340/cpuapp Parsing c:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/Kconfig.sysbuild Loaded configuration 'C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/_sysbuild/empty.conf' Merged configuration 'C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/_sysbuild/empty.conf' Configuration saved to 'C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/zephyr/.config' Kconfig header saved to 'C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/_sysbuild/autoconf.h' -- ******************************************* * Running CMake for nrf5340_audio_headset * ******************************************* Loading Zephyr default modules (Zephyr base). -- Application: C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset -- CMake version: 3.21.0 -- Found Python3: C:/ncs/toolchains/b620d30767/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter -- Cache files will be written to: C:/ncs/v2.9.1/zephyr/.cache -- Zephyr version: 3.7.99 (C:/ncs/v2.9.1/zephyr) -- Found west (found suitable version "1.2.0", minimum required is "0.14.0") -- Board: nrf5340_headset, qualifiers: nrf5340/cpuapp -- Found host-tools: zephyr 0.17.0 (C:/ncs/toolchains/b620d30767/opt/zephyr-sdk) -- Found toolchain: zephyr 0.17.0 (C:/ncs/toolchains/b620d30767/opt/zephyr-sdk) -- Found Dtc: C:/ncs/toolchains/b620d30767/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") -- Found BOARD.dts: C:/Users/V/Desktop/headset/software/COMS/boards/privat/nrf5340_headset/nrf5340_headset_nrf5340_cpuapp.dts -- Generated zephyr.dts: C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/nrf5340_audio_headset/zephyr/zephyr.dts -- Generated devicetree_generated.h: C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/nrf5340_audio_headset/zephyr/include/generated/zephyr/devicetree_generated.h -- Including generated dts.cmake file: C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/nrf5340_audio_headset/zephyr/dts.cmake warning: Experimental symbol NRF5340_AUDIO is enabled. Parsing C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/Kconfig Loaded configuration 'C:/Users/V/Desktop/headset/software/COMS/boards/privat/nrf5340_headset/nrf5340_headset_nrf5340_cpuapp_defconfig' Merged configuration 'C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/prj.conf' Merged configuration 'C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/nrf5340_audio_headset/zephyr/.config.sysbuild' Configuration saved to 'C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/nrf5340_audio_headset/zephyr/.config' Kconfig header saved to 'C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/nrf5340_audio_headset/zephyr/include/generated/zephyr/autoconf.h' -- Found GnuLd: c:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd.exe (found version "2.38") -- The C compiler identification is GNU 12.2.0 -- The CXX compiler identification is GNU 12.2.0 -- The ASM compiler identification is GNU -- Found assembler: C:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe -- libmetal version: 1.6.0 (C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset) -- Build type: -- Host: Windows/AMD64 -- Target: Generic/arm -- Machine: arm -- Looking for include file stdatomic.h -- Looking for include file stdatomic.h - found -- open-amp version: 1.6.1 (C:/ncs/v2.9.1/modules/lib/open-amp/open-amp) -- Host: Windows/AMD64 -- Target: Generic/arm -- Machine: arm -- C_FLAGS : -Wall -Wextra -- Looking for include file fcntl.h -- Looking for include file fcntl.h - found -- Setting build type to 'MinSizeRel' as none was specified. CMake Warning at C:/ncs/v2.9.1/zephyr/CMakeLists.txt:2133 (message): __ASSERT() statements are globally ENABLED CMake Warning at C:/ncs/v2.9.1/zephyr/CMakeLists.txt:2164 (message): The CMake build type was set to 'MinSizeRel', but the optimization flag was set to '-Og'. This may be intentional and the warning can be turned off by setting the CMake variable 'NO_BUILD_TYPE_WARNING' -- Configuring done CMake Warning in C:/Users/V/Desktop/headset/software/COMS/boards/privat/nrf5340_headset/CMakeLists.txt: The object file directory C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/nrf5340_audio_headset/zephyr/boards/boards/arm/nrf5340_headset/CMakeFiles/..__..__..__Users__V__Desktop__headset__software__COMS__boards__privat__nrf5340_headset.dir/./ has 227 characters. The maximum full path to an object file is 250 characters (see CMAKE_OBJECT_PATH_MAX). Object file nrf5340_headset_config.c.obj cannot be safely placed under this directory. The build may not work correctly. -- Generating done -- Build files have been written to: C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/nrf5340_audio_headset -- ******************************* * Running CMake for ipc_radio * ******************************* -- Application: C:/ncs/v2.9.1/nrf/applications/ipc_radio -- CMake version: 3.21.0 Loading Zephyr default modules (Zephyr base). -- Found Python3: C:/ncs/toolchains/b620d30767/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter -- Cache files will be written to: C:/ncs/v2.9.1/zephyr/.cache -- Zephyr version: 3.7.99 (C:/ncs/v2.9.1/zephyr) -- Found west (found suitable version "1.2.0", minimum required is "0.14.0") -- Board: nrf5340_headset, qualifiers: nrf5340/cpunet -- Found host-tools: zephyr 0.17.0 (C:/ncs/toolchains/b620d30767/opt/zephyr-sdk) -- Found toolchain: zephyr 0.17.0 (C:/ncs/toolchains/b620d30767/opt/zephyr-sdk) -- Found Dtc: C:/ncs/toolchains/b620d30767/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") -- Found BOARD.dts: C:/Users/V/Desktop/headset/software/COMS/boards/privat/nrf5340_headset/nrf5340_headset_nrf5340_cpunet.dts -- Generated zephyr.dts: C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/ipc_radio/zephyr/zephyr.dts -- Generated devicetree_generated.h: C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/ipc_radio/zephyr/include/generated/zephyr/devicetree_generated.h -- Including generated dts.cmake file: C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/ipc_radio/zephyr/dts.cmake Parsing C:/ncs/v2.9.1/nrf/applications/ipc_radio/Kconfig Loaded configuration 'C:/Users/V/Desktop/headset/software/COMS/boards/privat/nrf5340_headset/nrf5340_headset_nrf5340_cpunet_defconfig' Merged configuration 'C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/sysbuild/ipc_radio/prj.conf' Merged configuration 'C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/ipc_radio/zephyr/.config.sysbuild' Configuration saved to 'C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/ipc_radio/zephyr/.config' Kconfig header saved to 'C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/ipc_radio/zephyr/include/generated/zephyr/autoconf.h' -- Found GnuLd: c:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd.exe (found version "2.38") -- The C compiler identification is GNU 12.2.0 -- The CXX compiler identification is GNU 12.2.0 -- The ASM compiler identification is GNU -- Found assembler: C:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe -- libmetal version: 1.6.0 (C:/ncs/v2.9.1/nrf/applications/ipc_radio) -- Build type: -- Host: Windows/AMD64 -- Target: Generic/arm -- Machine: arm -- Looking for include file stdatomic.h -- Looking for include file stdatomic.h - found -- open-amp version: 1.6.1 (C:/ncs/v2.9.1/modules/lib/open-amp/open-amp) -- Host: Windows/AMD64 -- Target: Generic/arm -- Machine: arm -- C_FLAGS : -Wall -Wextra -- Looking for include file fcntl.h -- Looking for include file fcntl.h - found -- Setting build type to 'MinSizeRel' as none was specified. -- Configuring done -- Generating done -- Build files have been written to: C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/ipc_radio -- Configuring done -- Generating done -- Build files have been written to: C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build -- west build: building application [4/653] Generating include/generated/zephyr/version.h -- Zephyr version: 3.7.99 (C:/ncs/v2.9.1/zephyr), build: v3.7.99-ncs2-1 [648/653] Linking C executable zephyr\zephyr_pre0.elf FAILED: zephyr/zephyr_pre0.elf zephyr/zephyr_pre0.map C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/nrf5340_audio_headset/zephyr/zephyr_pre0.map cmd.exe /C "cd . && C:\ncs\toolchains\b620d30767\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -Os -DNDEBUG -gdwarf-4 -gdwarf-4 @CMakeFiles\zephyr_pre0.rsp -o zephyr\zephyr_pre0.elf -L"c:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/thumb/v8-m.main+fp/hard" -lm -lc -lgcc -lc && cmd.exe /C "cd /D C:\ncs\v2.9.1\nrf\applications\nrf5340_audio_headset\build\nrf5340_audio_headset\zephyr && C:\ncs\toolchains\b620d30767\opt\bin\cmake.exe -E true"" c:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(main.c.obj): in function `zbus_link_producers_observers': C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/unicast_server/main.c:416: undefined reference to `volume_evt_sub' c:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(main.c.obj): in function `main': C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/unicast_server/main.c:525: undefined reference to `nrf5340_audio_dk_init' c:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(audio_system.c.obj): in function `audio_system_start': C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/src/audio/audio_system.c:407: undefined reference to `hw_codec_default_conf_enable' c:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(audio_system.c.obj): in function `audio_system_stop': C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/src/audio/audio_system.c:429: undefined reference to `hw_codec_soft_reset' c:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(audio_system.c.obj): in function `audio_system_init': C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/src/audio/audio_system.c:484: undefined reference to `hw_codec_init' collect2.exe: error: ld returned 1 exit status ninja: build stopped: subcommand failed. [10/20] No configure step for 'ipc_radio' FAILED: _sysbuild/sysbuild/images/nrf5340_audio_headset-prefix/src/nrf5340_audio_headset-stamp/nrf5340_audio_headset-build C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/_sysbuild/sysbuild/images/nrf5340_audio_headset-prefix/src/nrf5340_audio_headset-stamp/nrf5340_audio_headset-build cmd.exe /C "cd /D C:\ncs\v2.9.1\nrf\applications\nrf5340_audio_headset\build\nrf5340_audio_headset && C:\ncs\toolchains\b620d30767\opt\bin\cmake.exe --build ." ninja: build stopped: subcommand failed. FATAL ERROR: command exited with status 1: 'C:\ncs\toolchains\b620d30767\opt\bin\cmake.EXE' --build C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build * The terminal process terminated with exit code: 1. * Terminal will be reused by tasks, press any key to close it. * Executing task: nRF Connect: Generate config nrf5340_headset/nrf5340/cpuapp for c:\ncs\v2.9.1\nrf\applications\nrf5340_audio_headset Building nrf5340_audio_headset C:\WINDOWS\system32\cmd.exe /d /s /c "west build --build-dir c:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build c:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset --pristine --board nrf5340_headset/nrf5340/cpuapp -- -DNCS_TOOLCHAIN_VERSION=NONE -DBOARD_ROOT=c:/users/v/desktop/headset/software/coms;c:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset" -- west build: generating a build system Loading Zephyr module(s) (Zephyr base): sysbuild_default -- Found Python3: C:/ncs/toolchains/b620d30767/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter -- Cache files will be written to: C:/ncs/v2.9.1/zephyr/.cache -- Found west (found suitable version "1.2.0", minimum required is "0.14.0") -- Board: nrf5340_headset, qualifiers: nrf5340/cpuapp Parsing c:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/Kconfig.sysbuild Loaded configuration 'C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/_sysbuild/empty.conf' Merged configuration 'C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/_sysbuild/empty.conf' Configuration saved to 'C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/zephyr/.config' Kconfig header saved to 'C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/_sysbuild/autoconf.h' -- ******************************************* * Running CMake for nrf5340_audio_headset * ******************************************* Loading Zephyr default modules (Zephyr base). -- Application: C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset -- CMake version: 3.21.0 -- Found Python3: C:/ncs/toolchains/b620d30767/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter -- Cache files will be written to: C:/ncs/v2.9.1/zephyr/.cache -- Zephyr version: 3.7.99 (C:/ncs/v2.9.1/zephyr) -- Found west (found suitable version "1.2.0", minimum required is "0.14.0") -- Board: nrf5340_headset, qualifiers: nrf5340/cpuapp -- Found host-tools: zephyr 0.17.0 (C:/ncs/toolchains/b620d30767/opt/zephyr-sdk) -- Found toolchain: zephyr 0.17.0 (C:/ncs/toolchains/b620d30767/opt/zephyr-sdk) -- Found Dtc: C:/ncs/toolchains/b620d30767/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") -- Found BOARD.dts: C:/Users/V/Desktop/headset/software/COMS/boards/privat/nrf5340_headset/nrf5340_headset_nrf5340_cpuapp.dts -- Generated zephyr.dts: C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/nrf5340_audio_headset/zephyr/zephyr.dts -- Generated devicetree_generated.h: C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/nrf5340_audio_headset/zephyr/include/generated/zephyr/devicetree_generated.h -- Including generated dts.cmake file: C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/nrf5340_audio_headset/zephyr/dts.cmake warning: Experimental symbol NRF5340_AUDIO is enabled. Parsing C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/Kconfig Loaded configuration 'C:/Users/V/Desktop/headset/software/COMS/boards/privat/nrf5340_headset/nrf5340_headset_nrf5340_cpuapp_defconfig' Merged configuration 'C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/prj.conf' Merged configuration 'C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/nrf5340_audio_headset/zephyr/.config.sysbuild' Configuration saved to 'C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/nrf5340_audio_headset/zephyr/.config' Kconfig header saved to 'C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/nrf5340_audio_headset/zephyr/include/generated/zephyr/autoconf.h' -- Found GnuLd: c:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd.exe (found version "2.38") -- The C compiler identification is GNU 12.2.0 -- The CXX compiler identification is GNU 12.2.0 -- The ASM compiler identification is GNU -- Found assembler: C:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe -- libmetal version: 1.6.0 (C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset) -- Build type: -- Host: Windows/AMD64 -- Target: Generic/arm -- Machine: arm -- Looking for include file stdatomic.h -- Looking for include file stdatomic.h - found -- open-amp version: 1.6.1 (C:/ncs/v2.9.1/modules/lib/open-amp/open-amp) -- Host: Windows/AMD64 -- Target: Generic/arm -- Machine: arm -- C_FLAGS : -Wall -Wextra -- Looking for include file fcntl.h -- Looking for include file fcntl.h - found -- Setting build type to 'MinSizeRel' as none was specified. CMake Warning at C:/ncs/v2.9.1/zephyr/CMakeLists.txt:2133 (message): __ASSERT() statements are globally ENABLED CMake Warning at C:/ncs/v2.9.1/zephyr/CMakeLists.txt:2164 (message): The CMake build type was set to 'MinSizeRel', but the optimization flag was set to '-Og'. This may be intentional and the warning can be turned off by setting the CMake variable 'NO_BUILD_TYPE_WARNING' -- Configuring done CMake Warning in C:/Users/V/Desktop/headset/software/COMS/boards/privat/nrf5340_headset/CMakeLists.txt: The object file directory C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/nrf5340_audio_headset/zephyr/boards/boards/arm/nrf5340_headset/CMakeFiles/..__..__..__Users__V__Desktop__headset__software__COMS__boards__privat__nrf5340_headset.dir/./ has 227 characters. The maximum full path to an object file is 250 characters (see CMAKE_OBJECT_PATH_MAX). Object file nrf5340_headset_config.c.obj cannot be safely placed under this directory. The build may not work correctly. -- Generating done -- Build files have been written to: C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/nrf5340_audio_headset -- ******************************* * Running CMake for ipc_radio * ******************************* -- Application: C:/ncs/v2.9.1/nrf/applications/ipc_radio -- CMake version: 3.21.0 Loading Zephyr default modules (Zephyr base). -- Found Python3: C:/ncs/toolchains/b620d30767/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter -- Cache files will be written to: C:/ncs/v2.9.1/zephyr/.cache -- Zephyr version: 3.7.99 (C:/ncs/v2.9.1/zephyr) -- Found west (found suitable version "1.2.0", minimum required is "0.14.0") -- Board: nrf5340_headset, qualifiers: nrf5340/cpunet -- Found host-tools: zephyr 0.17.0 (C:/ncs/toolchains/b620d30767/opt/zephyr-sdk) -- Found toolchain: zephyr 0.17.0 (C:/ncs/toolchains/b620d30767/opt/zephyr-sdk) -- Found Dtc: C:/ncs/toolchains/b620d30767/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") -- Found BOARD.dts: C:/Users/V/Desktop/headset/software/COMS/boards/privat/nrf5340_headset/nrf5340_headset_nrf5340_cpunet.dts -- Generated zephyr.dts: C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/ipc_radio/zephyr/zephyr.dts -- Generated devicetree_generated.h: C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/ipc_radio/zephyr/include/generated/zephyr/devicetree_generated.h -- Including generated dts.cmake file: C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/ipc_radio/zephyr/dts.cmake Parsing C:/ncs/v2.9.1/nrf/applications/ipc_radio/Kconfig Loaded configuration 'C:/Users/V/Desktop/headset/software/COMS/boards/privat/nrf5340_headset/nrf5340_headset_nrf5340_cpunet_defconfig' Merged configuration 'C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/sysbuild/ipc_radio/prj.conf' Merged configuration 'C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/ipc_radio/zephyr/.config.sysbuild' Configuration saved to 'C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/ipc_radio/zephyr/.config' Kconfig header saved to 'C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/ipc_radio/zephyr/include/generated/zephyr/autoconf.h' -- Found GnuLd: c:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd.exe (found version "2.38") -- The C compiler identification is GNU 12.2.0 -- The CXX compiler identification is GNU 12.2.0 -- The ASM compiler identification is GNU -- Found assembler: C:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe -- Build type: -- libmetal version: 1.6.0 (C:/ncs/v2.9.1/nrf/applications/ipc_radio) -- Host: Windows/AMD64 -- Target: Generic/arm -- Machine: arm -- Looking for include file stdatomic.h -- Looking for include file stdatomic.h - found -- open-amp version: 1.6.1 (C:/ncs/v2.9.1/modules/lib/open-amp/open-amp) -- Host: Windows/AMD64 -- Target: Generic/arm -- Machine: arm -- C_FLAGS : -Wall -Wextra -- Looking for include file fcntl.h -- Looking for include file fcntl.h - found -- Setting build type to 'MinSizeRel' as none was specified. -- Configuring done -- Generating done -- Build files have been written to: C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/ipc_radio -- Configuring done -- Generating done -- Build files have been written to: C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build -- west build: building application [4/653] Generating include/generated/zephyr/version.h -- Zephyr version: 3.7.99 (C:/ncs/v2.9.1/zephyr), build: v3.7.99-ncs2-1 [648/653] Linking C executable zephyr\zephyr_pre0.elf FAILED: zephyr/zephyr_pre0.elf zephyr/zephyr_pre0.map C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/nrf5340_audio_headset/zephyr/zephyr_pre0.map cmd.exe /C "cd . && C:\ncs\toolchains\b620d30767\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -Os -DNDEBUG -gdwarf-4 -gdwarf-4 @CMakeFiles\zephyr_pre0.rsp -o zephyr\zephyr_pre0.elf -L"c:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/thumb/v8-m.main+fp/hard" -lm -lc -lgcc -lc && cmd.exe /C "cd /D C:\ncs\v2.9.1\nrf\applications\nrf5340_audio_headset\build\nrf5340_audio_headset\zephyr && C:\ncs\toolchains\b620d30767\opt\bin\cmake.exe -E true"" c:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(main.c.obj): in function `zbus_link_producers_observers': C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/unicast_server/main.c:416: undefined reference to `volume_evt_sub' c:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(main.c.obj): in function `main': C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/unicast_server/main.c:525: undefined reference to `nrf5340_audio_dk_init' c:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(audio_system.c.obj): in function `audio_system_start': C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/src/audio/audio_system.c:407: undefined reference to `hw_codec_default_conf_enable' c:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(audio_system.c.obj): in function `audio_system_stop': C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/src/audio/audio_system.c:429: undefined reference to `hw_codec_soft_reset' c:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(audio_system.c.obj): in function `audio_system_init': C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/src/audio/audio_system.c:484: undefined reference to `hw_codec_init' collect2.exe: error: ld returned 1 exit status ninja: build stopped: subcommand failed. [10/20] No configure step for 'ipc_radio' FAILED: _sysbuild/sysbuild/images/nrf5340_audio_headset-prefix/src/nrf5340_audio_headset-stamp/nrf5340_audio_headset-build C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build/_sysbuild/sysbuild/images/nrf5340_audio_headset-prefix/src/nrf5340_audio_headset-stamp/nrf5340_audio_headset-build cmd.exe /C "cd /D C:\ncs\v2.9.1\nrf\applications\nrf5340_audio_headset\build\nrf5340_audio_headset && C:\ncs\toolchains\b620d30767\opt\bin\cmake.exe --build ." ninja: build stopped: subcommand failed. FATAL ERROR: command exited with status 1: 'C:\ncs\toolchains\b620d30767\opt\bin\cmake.EXE' --build C:/ncs/v2.9.1/nrf/applications/nrf5340_audio_headset/build * The terminal process terminated with exit code: 1. * Terminal will be reused by tasks, press any key to close it.