New Developer having issues building and flashing nrf5340_audio application to nrf5340_audio kits.

Hello all, I am new to development as a whole, and have been tasked with getting my company's new nrf5340 audio kits working and creating replicable instructions for future use. I am currently working on a MacBook running macOS Monterey.  We do not currently have access to the lc3 codec repository so I have applied the the additional line CONFIG_SW_CODEC_SBC=y in the Kconfig file as instructed in the official Nordic documents. I have also removed the lines of codes "CONFIG_LC3_ENC_CHAN_MAX=1" >>"CONFIG_LC3_DEC_CHAN_MAX=1" in both the overlay-headset.conf and the overlay-gateway.conf. I still continue to get these errors. I have everything related to this project in a designated "NCS" folder on my desktop and have initiated my west environment in that folder. I am not using any IDEs and am building and flashing the application with the included buildprog.py script. Could someone help give me a nudge in the right direction? I will provide any other information needed.

Thank you in advance!

Edited to include screenshot of CMakeError.log

  • Hello,

    I am new to development as a whole, and have been tasked with getting my company's new nrf5340 audio kits working and creating replicable instructions for future use.

    Great, this is very helpful for me to know. Welcome!
    Please do not hesitate to ask if you should encounter any issues or questions along the way.

    We do not currently have access to the lc3 codec repository

    Have you reached out to your Regional Sales Manager (RSM) to inquire about getting access?
    I would strongly recommend that you do so, since the evaluation of LE Audio might fall short without the pillar that is the LC3 codec.
    - You would of course still have all the new features such as broadcast and audio sharing, but without any of the improvements to audio quality and power consumption.
    If you do not know who your RSM is, please send me a direct message with your location so that I may provide you with their contact information.

    I have everything related to this project in a designated "NCS" folder on my desktop and have initiated my west environment in that folder. I am not using any IDEs and am building and flashing the application with the included buildprog.py script.

    Your logs seems to indicate that there might be an issue with your toolchain. Could you confirm whether or not you used the Toolchain Manager application from nRF Connect for Desktop to install and set up the NCS v1.9.1?
    If you did not use the toolchain manager - is there a particular reason for the manual installation?

    The Audio application is still only available in the NCS SDK v1.9.99-dev1 tag. If you already have v1.9.1 installed through the toolchain manager you will need to follow the steps in the Get the nRF Connect SDK code and substitute the v1.9.99-dev1 tag in place of the v1.9.1 in the example command:

    $west init -m https://github.com/nrfconnect/sdk-nrf --mr v1.9.99-dev1

    Make sure to also perform the west update and west zephyr-export steps before you proceed to the Audio application documentation.
    You will need to perform the two steps in the nRF5340 Audio documentations Configuration section the first time you begin working with the devtag.
    Once you have added the nrf5340_audio application to the west manifest, the following west update command will prompt you for the github login with access to the LC3 repository, in order to retrieve it.

    After the west update completes successfully everything is set up and you may begin to develop with the audio application. Here you may proceed directly to use the buildprog tool to build your application for different configurations, and flash those configurations to multiple different boards concurrently.

    Could you try this again using the toolchain manager, and then let me know if you are able to build and flash the standard CIS mode application to your boards?

    Best regards,
    Karl

  • Hello,

    I leave this message here for people that might stumble upon this post in the future:

    I am happy to report that you no longer need to be given explicit access to download the LC3 codec, it has been made public and can be found here:
    https://github.com/nrfconnect/sdk-nrfxlib/tree/main/lc3

    Best regards,
    Karl

Related