nrf5340dk Bluetooth zephry: unable to add CONFIG_BT_NUS

Hi there

I have started a project from the green field. After adding some threads and for some blinky examples, I want to enable bluetooth on my nrf5340dk. taking inspiration on the "peripheral_uart" example (which I can compile and flash and connect via bluetooth to my mobile), my own project fails to compile when trying to add "CONFIG_BT_NUS" to my prj.conf.

CoPilot says something about west manifest located in the ncs/v2.x.x/nrf/west.yml. However, I am unable to find any such file or directory?

Or what could go wrong?

Ok, my goal eventually is, to have a bluetooth application including the shell. Said this, I failed to enable the shell on the peripheral_uart example. 

Hope anyone could help me out. and THANX in advanced!!

My environment: 

Mac Intel (2019) - Sequoia 15.6
VS Code - Version: 1.103.1 (Universal)
SDK - Zephyr v3.7.99
Toolchain - nRF Connect SDK Toolchain v3.0.2

MySelf - zephyr beginner, else a few larger c-projects and embedded project behind me. 



Terminal output:
...
-- Generated zephyr.dts: /Users/niklasroth/programming/nRF/blinky_the_second/build_1/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /Users/niklasroth/programming/nRF/blinky_the_second/build_1/zephyr/include/generated/zephyr/devicetree_generated.h
-- Including generated dts.cmake file: /Users/niklasroth/programming/nRF/blinky_the_second/build_1/zephyr/dts.cmake

warning: BT_SETTINGS (defined at subsys/bluetooth/host/Kconfig:166) was assigned the value 'y' but
got the value 'n'. Check these unsatisfied dependencies: SETTINGS (=n). See
docs.zephyrproject.org/.../kconfig.html and/or look up BT_SETTINGS in
the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration
Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too.


/Users/niklasroth/programming/nrf/blinky_the_second/prj.conf:28: warning: attempt to assign the value 'y' to the undefined symbol BT_NUS
Parsing /Users/niklasroth/zephyrproject/zephyr/Kconfig
Loaded configuration '/Users/niklasroth/zephyrproject/zephyr/boards/nordic/nrf5340dk/nrf5340dk_nrf5340_cpuapp_defconfig'
Merged configuration '/Users/niklasroth/programming/nrf/blinky_the_second/prj.conf'

error: Aborting due to Kconfig warnings
...

Related