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
  • Hello,

    This sounds like it might be an issue with your toolchain.
    Did this error appear when you tried to build the application through the VSC nRF Extension, or through the buildprog script?
    In case of the latter, which shell / terminal did you use to run the script, and from what directory was the command called?

    Could you also tell me how you installed the SDK toolchain - did you do a manual install, or did you use the Toolchain manager?
    I would recommend that you use the toolchain manager, so that you are working with a tagged release - this makes it easier to track changes in between versions, and for us to know exactly what you are working with.

    Lastly, could you confirm that you did not 'abort' the west update following the prompt for the LC3 github repository login?
    If you abort the update at this time it will not download the Cirrus Logic repository, which also might be the reason why you are seeing this error.

    Best regards,
    Karl

Reply
  • Hello,

    This sounds like it might be an issue with your toolchain.
    Did this error appear when you tried to build the application through the VSC nRF Extension, or through the buildprog script?
    In case of the latter, which shell / terminal did you use to run the script, and from what directory was the command called?

    Could you also tell me how you installed the SDK toolchain - did you do a manual install, or did you use the Toolchain manager?
    I would recommend that you use the toolchain manager, so that you are working with a tagged release - this makes it easier to track changes in between versions, and for us to know exactly what you are working with.

    Lastly, could you confirm that you did not 'abort' the west update following the prompt for the LC3 github repository login?
    If you abort the update at this time it will not download the Cirrus Logic repository, which also might be the reason why you are seeing this error.

    Best regards,
    Karl

Children
No Data
Related