Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

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

I found a lot of posts with this warning/error, but I could not find a fitting solution among them.

in my case, I copied the `peripheral_lbs` project to another folder,
then sourced the zephyr environment script from ncs/vX.X.X/zephyr and
ran west build in the project folder.
the error is:

`warning: attempt to assign the value 'y' to the undefined symbol NCS_SAMPLES_DEFAULTS`

I assume the reason is that NCS_SAMPLES_DEFAULTS is not a Zephyr definition, but a nordic specific one.
A google search gave me this result, what supports my assumption:
https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/kconfig/index-nrf.html

How do I tell kconfig/west (?) that there are more symbols available?

Parents Reply
  • I used the Toolchain Manager to install NCS (not sure what NCS stands for tho) on MacOS and succesfully built applications in Segger Studio using nRF Connect SDK v1.4.2. I only tried sample projects that were selected from within Segger Studio and never from custom folders.

    However, I prefer to use CLI tools, as the rest of our projects are just plain CMake porjects.

Children
No Data
Related