nRF5340 audio DK WALKIE_TALKIE_DEMO build error

Hi, I am using nRF5340 audio DK PCA10121, NCS 2.1.1 I am following https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/applications/nrf5340_audio/README.html#enabling-the-walkie-talkie-demo to have prj.conf with CONFIG_WALKIE_TALKIE_DEMO=y.

I got this undefined symbol error "c:/Projects/Amoeba/BLE-Firmware/central_comm_node/prj.conf:70: warning: attempt to assign the value 'y' to the undefined symbol WALKIE_TALKIE_DEMO".

Here is my complete build trace. Please advise, thanks.

* Executing task: nRF Connect: Build: central_comm_node/build (active)

Building central_comm_node
west build --build-dir c:\Projects\Amoeba\BLE-Firmware\central_comm_node\build c:\Projects\Amoeba\BLE-Firmware\central_comm_node --pristine --board nrf5340_audio_dk_nrf5340_cpuapp -- -DNCS_TOOLCHAIN_VERSION:STRING="NONE" -DCONFIG_DEBUG_OPTIMIZATIONS:STRING="y" -DCONFIG_DEBUG_THREAD_INFO:STRING="y" -DDTC_OVERLAY_FILE:STRING="c:/Projects/Amoeba/BLE-Firmware/central_comm_node/nrf5340_audio_dk_nrf5340_cpuapp.overlay" -DCONF_FILE:STRING="c:/Projects/Amoeba/BLE-Firmware/central_comm_node/prj.conf"

-- west build: generating a build system
Loading Zephyr default modules (Zephyr base).
-- Application: C:/Projects/Amoeba/BLE-Firmware/central_comm_node
-- Found Python3: C:/ncs/toolchains/v2.1.1/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter
-- Cache files will be written to: C:/ncs/v2.1.1/zephyr/.cache
-- Zephyr version: 3.1.99 (C:/ncs/v2.1.1/zephyr)
-- Found west (found suitable version "0.14.0", minimum required is "0.7.1")
-- Board: nrf5340_audio_dk_nrf5340_cpuapp
-- Found host-tools: zephyr 0.14.1 (C:/ncs/toolchains/v2.1.1/opt/zephyr-sdk)
-- Found dtc: C:/ncs/toolchains/v2.1.1/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
-- Found toolchain: zephyr 0.14.1 (C:/ncs/toolchains/v2.1.1/opt/zephyr-sdk)
-- Found BOARD.dts: C:/ncs/v2.1.1/nrf/boards/arm/nrf5340_audio_dk_nrf5340/nrf5340_audio_dk_nrf5340_cpuapp.dts
-- Found devicetree overlay: c:/Projects/Amoeba/BLE-Firmware/central_comm_node/nrf5340_audio_dk_nrf5340_cpuapp.overlay
-- Generated zephyr.dts: C:/Projects/Amoeba/BLE-Firmware/central_comm_node/build/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: C:/Projects/Amoeba/BLE-Firmware/central_comm_node/build/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: C:/Projects/Amoeba/BLE-Firmware/central_comm_node/build/zephyr/include/generated/device_extern.h
-- Including generated dts.cmake file: C:/Projects/Amoeba/BLE-Firmware/central_comm_node/build/zephyr/dts.cmake

warning: Experimental symbol NRF5340_AUDIO is enabled.


warning: Experimental symbol BT_ISO_CENTRAL is enabled.


warning: Experimental symbol BT_AUDIO is enabled.
Parsing C:/Projects/Amoeba/BLE-Firmware/central_comm_node/Kconfig
Loaded configuration 'C:/ncs/v2.1.1/nrf/boards/arm/nrf5340_audio_dk_nrf5340/nrf5340_audio_dk_nrf5340_cpuapp_defconfig'
Merged configuration 'c:/Projects/Amoeba/BLE-Firmware/central_comm_node/prj.conf'
Merged configuration 'C:/Projects/Amoeba/BLE-Firmware/central_comm_node/build/zephyr/misc/generated/extra_kconfig_options.conf'


warning: Experimental symbol BT_AUDIO_UNICAST_CLIENT is enabled.


warning: Experimental symbol BT_VCS_CLIENT is enabled.


c:/Projects/Amoeba/BLE-Firmware/central_comm_node/prj.conf:70: warning: attempt to assign the value 'y' to the undefined symbol WALKIE_TALKIE_DEMO

error: Aborting due to Kconfig warnings

CMake Error at C:/ncs/v2.1.1/zephyr/cmake/modules/kconfig.cmake:293 (message):
command failed with return code: 1
Call Stack (most recent call first):
C:/ncs/v2.1.1/zephyr/cmake/modules/zephyr_default.cmake:121 (include)
C:/ncs/v2.1.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
C:/ncs/v2.1.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
CMakeLists.txt:37 (find_package)


-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: 'c:\ncs\toolchains\v2.1.1\opt\bin\cmake.EXE' '-DWEST_PYTHON=c:\ncs\toolchains\v2.1.1\opt\bin\python.exe' '-Bc:\Projects\Amoeba\BLE-Firmware\central_comm_node\build' -GNinja -DBOARD=nrf5340_audio_dk_nrf5340_cpuapp -DNCS_TOOLCHAIN_VERSION:STRING=NONE -DCONFIG_DEBUG_OPTIMIZATIONS:STRING=y -DCONFIG_DEBUG_THREAD_INFO:STRING=y -DDTC_OVERLAY_FILE:STRING=c:/Projects/Amoeba/BLE-Firmware/central_comm_node/nrf5340_audio_dk_nrf5340_cpuapp.overlay -DCONF_FILE:STRING=c:/Projects/Amoeba/BLE-Firmware/central_comm_node/prj.conf '-Sc:\Projects\Amoeba\BLE-Firmware\central_comm_node'

* The terminal process terminated with exit code: 1.
* Terminal will be reused by tasks, press any key to close it.

Parents
  • Hi,
    I have the same issue using NCS 2.1.2. I can build the normal CIS application, but when I try to add the configure for  the walkie talkie demo "CONFIG_WALKIE_TALKIE_DEMO=y" I get the same error about the "undefined symbol WALKIE_TALKIE_DEMO".

    Should this be fixed already in the NCS 2.1.2 release or do I still need to update the repository. If so, what files exactly to I need to update?
    Thank you and kind regards

  • Okay, I managed to get the walkie talkie demo working now, by copying the nrf5340_audio application folder from the repo you shared into my ncs folder structure. 
    Is there a way to use the walkie talkie demo with input from the line-in audio jacks? Could I then plug in a microphone to the line-in jack to talk to the other person?

  • Hi, 

    The CONFIG_WALKIE_TALKIE_DEMO changed the input source on the gateway from line-in to onboard PDM MIC.

    If you don't want to use PDM MIC but want to use line-in as input source, the you don't need to enable CONFIG_WALKIE_TALKIE_DEMO, but only use CONFIG_STREAM_BIDIRECTIONAL=y and CONFIG_AUDIO_SOURCE__I2S=y will be ready.

    However, please be aware that that the microphone might not working directly with line-in port directly. You would likely need a mic amplifier first to convert to a line level signal.

    See https://headphonesproreview.com/line-in-vs-mic-in/

    Regards,
    Amanda H.

Reply Children
No Data
Related