Building unicast_audio_server for NRF5340 DK

Greetings

I am trying to build the unicast_audio_server example application for an NRF5340 DK (Not the audio dk), as advised in this post.

When I try building the application, I get the following error in my terminal: Failed to register ISO server -134; and further on I get a message "<wrn> bt_hci_core: opcode 0x2036 status 0x01
Failed to create advertising set (err -5)".

I've read the README, and seen the instruction " Use `-DEXTRA_CONF_FILE=overlay-bt_ll_sw_split.conf` to enable required ISO feature support in Zephyr Bluetooth Controller on supported boards."

I'm not sure if I added it correctly, but the overlay-bt_ll_sw_split.conf file was an option to be added as a "Kconfig fragment" in my build config, so I went ahead and added it. When I added it to my prj.conf, the build threw a CMake error. From all this, what am I doing wrong? Or is it even possible to build this application for the dev kit that isn't the audio DK?
Any help would be appreciated.
Thank you. 

 

Parents
  • Hi, 

    What NCS version are you using?

    It requires -DOVERLAY_CONFIG=overlay-bt_ll_sw_split.conf to enable the required ISO feature support when when building targeting an nRF52 series board with the Zephyr Bluetooth Controller. For nRF5340DK, you can use this command to build:

    # From the root of the zephyr repository
    west build -b nrf5340dk/nrf5340/cpuapp --sysbuild samples/bluetooth/unicast_audio_server/
    
     

    and get the log like this:

    Regards,
    Amanda H.

  • Hi Amanda

    I am using NCS version 2.6.0.

    To build the project as it is, I opened VSCode and opened the unicast_audio_server through the SDK. I've copied and pasted the command-line prompt you've suggested and get the following result:

    ERROR: source directory samples/bluetooth/unicast_audio_server/ does not exist       
    FATAL ERROR: refusing to proceed without --force due to above error

Reply
  • Hi Amanda

    I am using NCS version 2.6.0.

    To build the project as it is, I opened VSCode and opened the unicast_audio_server through the SDK. I've copied and pasted the command-line prompt you've suggested and get the following result:

    ERROR: source directory samples/bluetooth/unicast_audio_server/ does not exist       
    FATAL ERROR: refusing to proceed without --force due to above error

Children
Related