nRF SDK 2.9.2: BT_CTLR_RX_BUFFERS unsatisfied dependencies: BT_LL_SW_SPLIT (=n)

I need help with this issue. I'm updating the code from SDK 2.4.2 to SDK 2.9.2. I had change the device tree to HWM2 and I'm using sysbuild.

The build log is showing this warning:

warning: BT_CTLR_RX_BUFFERS (defined at subsys/bluetooth\controller/Kconfig:225) was assigned the
value '10' but got the value ''. Check these unsatisfied dependencies: BT_LL_SW_SPLIT (=n). See
docs.zephyrproject.org/.../kconfig.html and/or look up
BT_CTLR_RX_BUFFERS 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.

After I had set CONFIG_BT_LL_SW_SPLIT in HCI_IPC_CONF I got more errors:

After a day trying to figure out what I'm missing I decided to use the hello world sample with nrf5340dk and I got the same error. Below I copied the log.

./cfs-file/__key/communityserver-discussions-components-files/4/compilation-log.txt

Here my test code using the hello_world sample.

/cfs-file/__key/communityserver-discussions-components-files/4/0005.hello_5F00_world.zip

Parents
  • Hello,

    Sorry for getting back to you a bit late, it's summer vacation here in Norway, which is the reason for the delay in responding.

    Is this a custom board or a DK? I suspect that the DTS might be missing the bt_hci.controller node. The error message you're seeing occurs because the bt-ll-sw-split snippet expects the bt_hci_controller node to exist in your board's device tree. If your board's DTS does not define this node, or if it is disabled, you will encounter this error.

    This issue has been discussed in an older DevZone case, please refer to it and try adding the overlay as mentioned there.

    Kind regards,
    Abhijith

  • I'm using for this debug the nRF5340DK_nrf5340 device tree.

    I added an overlay:

    / {
        chosen {
            zephyr,bt-hci = &bt_hci_controller;
        };
    };

    &bt_hci_sdc {
        status = "disabled";
    };

    &bt_hci_controller {
        status = "okay";
    };
    And got another error. 

    devicetree error: c:\\work\\nrf-samples\\hello_world\\app\\boards\\nrf5340dk_nrf5340_cpuapp.overlay:7 (column 1): parse error: undefined node label 'bt_hci_sdc'
    CMake Error at C:/ncs/v2.9.2/zephyr/cmake/modules/dts.cmake:295 (execute_process):

    This ticket is going nowhere. 

  • I read again all the migration nodes from the versions between 2.4.2 and 2.9.2, I was able to add the bt-ll-sw-split.overlay by adding the line in the cmake file.

    zephyr_library_compile_options(-DSNIPPET="bt-ll-sw-split.overlay")
    On Kconfig.sysbuild, I added:

    config NRF_DEFAULT_IPC_RADIO
        default y

    config NETCORE_IPC_RADIO_BT_HCI_IPC
        default y
    on sysbuild\hci_ipc.conf
    CONFIG_BT_LL_SW_SPLIT=y
    CONFIG_BT_HCI_RAW=y
    Now I'm getting the following error:
    c:\ncs\v2.9.2\zephyr\modules\hal_nordic\nrfx\nrfx_config_reserved_resources_ncs.h:42:10: fatal error: bt_ctlr_used_resources.h: No such file or directory
    42 | #include <bt_ctlr_used_resources.h>
    This error is using my application. I will do the same changes in the hello world sample to see what I will get.
Reply
  • I read again all the migration nodes from the versions between 2.4.2 and 2.9.2, I was able to add the bt-ll-sw-split.overlay by adding the line in the cmake file.

    zephyr_library_compile_options(-DSNIPPET="bt-ll-sw-split.overlay")
    On Kconfig.sysbuild, I added:

    config NRF_DEFAULT_IPC_RADIO
        default y

    config NETCORE_IPC_RADIO_BT_HCI_IPC
        default y
    on sysbuild\hci_ipc.conf
    CONFIG_BT_LL_SW_SPLIT=y
    CONFIG_BT_HCI_RAW=y
    Now I'm getting the following error:
    c:\ncs\v2.9.2\zephyr\modules\hal_nordic\nrfx\nrfx_config_reserved_resources_ncs.h:42:10: fatal error: bt_ctlr_used_resources.h: No such file or directory
    42 | #include <bt_ctlr_used_resources.h>
    This error is using my application. I will do the same changes in the hello world sample to see what I will get.
Children
Related