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
  • Note that several child images are checked to be automatically added by this file:

    • https://github.com/nrfconnect/sdk-nrf/blob/main/samples/CMakeLists.txt

      if (CONFIG_NCS_INCLUDE_RPMSG_CHILD_IMAGE)
      
        if (CONFIG_NCS_SAMPLE_MULTIPROTOCOL_RPMSG_CHILD_IMAGE)
          set(CHILD_IMAGE_NAME "multiprotocol_rpmsg")
          set(CHILD_IMAGE_PATH "${NRF_DIR}/samples/nrf5340/multiprotocol_rpmsg")
      
        elseif (CONFIG_NCS_SAMPLE_HCI_RPMSG_CHILD_IMAGE)
          set(CHILD_IMAGE_NAME "hci_rpmsg")
          set(CHILD_IMAGE_PATH "${ZEPHYR_BASE}/samples/bluetooth/hci_rpmsg")


    FYI: In your original question, you may have accidently said the same thing twice, shown in bold below:


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

    ...


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

Children
No Data
Related