Enabling BLE host on application core and BLE controller on network core on nrf5340dk

Hi

I'm trying to configure zephyr to build BLE host on the application core and BLE controller on network core on the nrf5340dk. 

I was able to configure zephyr to run both BLE host and controller on network core, and that worked fine. Was able to connect and send data to nRF Connect mobile app.

But now I want to configure zephyr to run BLE host on application core.

When I use CONFIG_BT=y  the build system automatically generates a child image (hci_rpmsg) and also generates a build error:

/workdir/base/platform/modules/lib/sdk-nrf/subsys/partition_manager/flash_map_partition_manager.c:9:10: fatal error: pm_config.h: No such file or directory

Why is the child image created automatically, and how can I disable that? (I'm building the application core and network core separately)

BR

Parents Reply
  • I have tried to split the BLE HOST build and BLE Controller build separately using the information given in this documentation.

    I used periphreal uart bluetooth sample with BLE Host build on the APP core with this setup  

    CONFIG_BT=y
    CONFIG_BT_HCI=y
    CONFIG_BT_CTLR=n

    and used hci_rpmsg sample as controller build with rpmsg to be run on network core.

    This seems to work fine and I did not have anything in the child_image folder

    EDIT:
    --------
    the hci_rpmsg still seems to build but mostly not flashed. Did you verify the above configuration in your setup?

Children
Related