nRF5 SDK is not maintained anymore
More Info: Consider nRF Connect SDK for new designs

how to fix HW_CODEC_CIRRUS_LOGIC error when compiling

Hi,

we got a nrf5340 audio DK recently, when want to build example code for it, I get this message:

warning: attempt to assign the value 'y' to the undefined symbol HW_CODEC_CIRRUS_LOGIC

error: Aborting due to Kconfig warnings

more info:

SDK :2.0.0-rc1,(west init -m https://github.com/nrfconnect/sdk-nrf --mr main

OS: Ubuntu 20.04

toolchain:zephyr-sdk-0.14.2

I wonder how to fix it?

thanks

Parents
  • Hi,

    thanks for your update

    1.I build the application through the VSC nRF Extension

    2.I install the toolchain manually(zephyr-sdk-0.14.2)

    3.We are still waiting for the authorization of the LC3 encoding, almost one month...;but the open-source one is good, i can build the sample code "broadcast_audio_sink/broadcast_audio_source" for nRF5340DK, no error

    4.I can build some sample code  for nRF52840, and flash it into nRF52840Dongle, it works well, so it will be a issue with the toolchain? 

    thanks again

Reply
  • Hi,

    thanks for your update

    1.I build the application through the VSC nRF Extension

    2.I install the toolchain manually(zephyr-sdk-0.14.2)

    3.We are still waiting for the authorization of the LC3 encoding, almost one month...;but the open-source one is good, i can build the sample code "broadcast_audio_sink/broadcast_audio_source" for nRF5340DK, no error

    4.I can build some sample code  for nRF52840, and flash it into nRF52840Dongle, it works well, so it will be a issue with the toolchain? 

    thanks again

Children
  • Hello,

    Thank you for your patience with this - I have been out of office last week, but I am now back again.

    It still sounds like the issue is with your toolchain - possibly that you aborted the west update when you were prompted for the github credentials, instead of just providing some arbitrary credentials that will fail to validate. This will make the west update continue to fetch the necessary Cirrus Logic repository, along with the SBC repository.
    Could you confirm that the west update finished successfully? Alternatively, could you perform the west update again, as described in the documentation, and share the logs from the update with me?

    I should also mention that since we last spoke we have finally released the NCS v2.0.0, which is now available in the toolchain manager - I highly recommend that you give this a try again using the v2.0.0 instead of the release candidate.

    3. Are you still waiting for the LC3 access? 1 month is longer than any processing time I have ever heard of prior. Who have you been in contact with about this, and what company do you work for? If you would not like to share this information in a public ticket I can either convert it to private, or you can send me the information in a direct message instead, just let me know.

    4. It could still be an issue with the toolchain, for example if the west update failed, or did not complete. This would still let you compile non-audio projects, but would cause issues when you attempt to build Audio DK applications.

    Best regards,
    Karl

  • Hi, Karl

    you are right, after clone the Cirrus Logic repository, the error was gone

    and i have send a message to your privatly.

    thanks

  • Great, I am happy to hear that this issue now is resolved!

    We can continue the access request discussion in the direct messages, no problem.

    Best regards,
    Karl

Related