Problem build sample

I want to build the sample usb_hci.

After i create a build config there are warning and the process fails

warning: <choice BT_HCI_BUS_TYPE> (defined at boards/arm/ubx_evknorab10_nrf5340/Kconfig.defconfig:84) defined with type unknown
warning: <choice BT_HCI_BUS_TYPE> (defined at boards/arm/ubx_evknorab10_nrf5340/Kconfig.defconfig:84) defined without a prompt
warning: the default selection BT_HCI_IPC (defined at drivers/bluetooth/hci/Kconfig:39) of <choice BT_HCI_BUS_TYPE> (defined at boards/arm/ubx_evknorab10_nrf5340/Kconfig.defconfig:84) is not contained in the choice
error: Aborting due to Kconfig warnings
  • Hi,

    Can you show your build command and full build log?

    Which NCS version do you use?

    Best regards,
    Dejan

  • I am also getting same problem :-

    warning: PARTITION_MANAGER_ENABLED (defined at C:/ncs/v2.9.0/nrf\subsys\partition_manager/Kconfig:9)
    was assigned the value 'n' but got the value 'y'. See
    docs.zephyrproject.org/.../kconfig.html and/or look up
    PARTITION_MANAGER_ENABLED 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.


    warning: PM_SINGLE_IMAGE (defined at C:/ncs/v2.9.0/nrf\subsys\partition_manager/Kconfig:164) was
    assigned the value 'n' but got the value 'y'. See
    docs.zephyrproject.org/.../kconfig.html and/or look up
    PM_SINGLE_IMAGE 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.

    warning: Deprecated symbol PLATFORM_SPECIFIC_INIT is enabled.


    warning: <choice BT_HCI_BUS_TYPE> (defined at C:/ncs/v2.9.0/zephyr/boards/arm/ubx_evknorab10_nrf5340/Kconfig.defconfig:84) defined with type unknown

    warning: <choice BT_HCI_BUS_TYPE> (defined at C:/ncs/v2.9.0/zephyr/boards/arm/ubx_evknorab10_nrf5340/Kconfig.defconfig:84) defined without a prompt

    warning: the default selection BT_HCI_IPC (defined at drivers/bluetooth/hci/Kconfig:39) of <choice BT_HCI_BUS_TYPE> (defined at C:/ncs/v2.9.0/zephyr/boards/arm/ubx_evknorab10_nrf5340/Kconfig.defconfig:84) is not contained in the choice

    error: Aborting due to Kconfig warnings


    I am using :-
    nRF Connect SDK  v2.9.0 & nRF Connect SDK Toolchain v2.9.0

  • I have the same problem as ak@s and the same sdk version

  • I have read that the version 2.5 ist tested by ublox. Now only this error occours:

    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

  • 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)

Related