I want to build the sample usb_hci.
After i create a build config there are warning and the process fails
I want to build the sample usb_hci.
After i create a build config there are warning and the process fails
There is some oter error:
CMake Error at /home/marbae/ncs/v2.5.0/zephyr/cmake/modules/kconfig.cmake:348 (message):
command failed with return code: 1
Call Stack (most recent call first):
/home/marbae/ncs/v2.5.0/nrf/cmake/modules/kconfig.cmake:29 (include)
/home/marbae/ncs/v2.5.0/zephyr/cmake/modules/zephyr_default.cmake:129 (include)
/home/marbae/ncs/v2.5.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
/home/marbae/ncs/v2.5.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
CMakeLists.txt:4 (find_package)
Hi,
Can you provide full error log?
Best regards,
Dejan
Hi,
Can you provide full error log?
Best regards,
Dejan
Building hci_usb
west build --build-dir /home/marbae/ncs/v2.5.0/zephyr/samples/bluetooth/hci_usb/build /home/marbae/ncs/v2.5.0/zephyr/samples/bluetooth/hci_usb
-- west build: generating a build system
Loading Zephyr default modules (Zephyr base (cached)).
-- Application: /home/marbae/ncs/v2.5.0/zephyr/samples/bluetooth/hci_usb
-- CMake version: 3.20.5
-- Cache files will be written to: /home/marbae/.cache/zephyr
-- Zephyr version: 3.4.99 (/home/marbae/ncs/v2.5.0/zephyr)
-- Found west (found suitable version "1.1.0", minimum required is "0.14.0")
-- Board: ubx_evknorab10_nrf5340_cpuapp_ns
-- Found host-tools: zephyr 0.16.1 (/home/marbae/ncs/toolchains/7795df4459/opt/zephyr-sdk)
-- Found toolchain: zephyr 0.16.1 (/home/marbae/ncs/toolchains/7795df4459/opt/zephyr-sdk)
-- Found BOARD.dts: /home/marbae/ncs/v2.5.0/zephyr/boards/arm/ubx_evknorab10_nrf5340/ubx_evknorab10_nrf5340_cpuapp_ns.dts
-- Generated zephyr.dts: /home/marbae/ncs/v2.5.0/zephyr/samples/bluetooth/hci_usb/build/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /home/marbae/ncs/v2.5.0/zephyr/samples/bluetooth/hci_usb/build/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /home/marbae/ncs/v2.5.0/zephyr/samples/bluetooth/hci_usb/build/zephyr/dts.cmake
Parsing /home/marbae/ncs/v2.5.0/zephyr/Kconfig
Loaded configuration '/home/marbae/ncs/v2.5.0/zephyr/boards/arm/ubx_evknorab10_nrf5340/ubx_evknorab10_nrf5340_cpuapp_ns_defconfig'
Merged configuration '/home/marbae/ncs/v2.5.0/zephyr/samples/bluetooth/hci_usb/prj.conf'
warning: the default selection BT_HCI_IPC (undefined) of <choice BT_HCI_BUS_TYPE> (defined at boards/shields/x_nucleo_idb05a1/Kconfig.defconfig:11, boards/arm/ubx_evknorab10_nrf5340/Kconfig.defconfig:84, drivers/bluetooth/hci/Kconfig:11) is not contained in the choice
error: Aborting due to Kconfig warnings
CMake Error at /home/marbae/ncs/v2.5.0/zephyr/cmake/modules/kconfig.cmake:348 (message):
command failed with return code: 1
Call Stack (most recent call first):
/home/marbae/ncs/v2.5.0/nrf/cmake/modules/kconfig.cmake:29 (include)
/home/marbae/ncs/v2.5.0/zephyr/cmake/modules/zephyr_default.cmake:129 (include)
/home/marbae/ncs/v2.5.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
/home/marbae/ncs/v2.5.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:97 (include_boilerplate)
CMakeLists.txt:4 (find_package)
-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: /home/marbae/ncs/toolchains/7795df4459/usr/local/bin/cmake -DWEST_PYTHON=/home/marbae/ncs/toolchains/7795df4459/usr/local/bin/python3.8 -B/home/marbae/ncs/v2.5.0/zephyr/samples/bluetooth/hci_usb/build -GNinja -S/home/marbae/ncs/v2.5.0/zephyr/samples/bluetooth/hci_usb
* The terminal process terminated with exit code: 1.
* Terminal will be reused by tasks, press any key to close it.