This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

bluetooth central example build fail with zepher?

Hi,

I want to build a bluetooth central example of zepher to nrf52832.

I am using the command "west build -p auto -b nrf52832_mdk samples\bluetooth\central" to build the example. Unfortunately  I got the following error

-- west build: making build dir D:/zephyr-master\build pristine
-- west build: generating a build system
-- Application: D:/zephyr-master/samples/bluetooth/central
-- Zephyr version: 2.3.99 (D:/zephyr-master/zephyr)
-- Found Python3: C:/Python36/python.exe (found suitable exact version "3.6.8") found components: Interpreter
-- Board: nrf52832_mdk
-- Found west: C:/Python36/Scripts/west.exe (found suitable version "0.7.2", minimum required is "0.7.1")
-- Found dtc: C:/ProgramData/chocolatey/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
-- Found toolchain: gnuarmemb (C:/gnu_arm_embedded)
-- Found BOARD.dts: D:/zephyr-master/zephyr/boards/arm/nrf52832_mdk/nrf52832_mdk.dts
-- Generated zephyr.dts: D:/zephyr-master/build/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: D:/zephyr-master/build/zephyr/include/generated/devicetree_unfixed.h
Parsing D:/zephyr-master/zephyr/Kconfig
Loaded configuration 'D:/zephyr-master/zephyr/boards/arm/nrf52832_mdk/nrf52832_mdk_defconfig'
Merged configuration 'D:/zephyr-master/samples/bluetooth/central/prj.conf'

error: BT_CONN (defined at subsys/bluetooth/Kconfig:148) is assigned in a configuration file, but is
not directly user-configurable (has no prompt). It gets its value indirectly from other symbols. See
docs.zephyrproject.org/.../CONFIG_BT_CONN.html and/or look up BT_CONN 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.

CMake Error at D:/zephyr-master/zephyr/cmake/kconfig.cmake:217 (message):
command failed with return code: 1
Call Stack (most recent call first):
D:/zephyr-master/zephyr/cmake/app/boilerplate.cmake:511 (include)
CMakeLists.txt:2 (include)


-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: 'C:\Program Files\CMake\bin\cmake.EXE' '-BD:\zephyr-master\build' '-SD:\zephyr-master\samples\bluetooth\central' -GNinja -DBOARD=nrf52832_mdk.

Anyone facing similar issue please guide me...