Add BLE to AWS IOT sample

Hi all,

I started from the aws_iot example on the nrf7002DK and I am trying to add BLE support on it. Though I soon as I add
CONFIG_BT=y

I get this error : 
Sec Thread] Secure image initializing!
Booting TF-M v2.0.0
[INF][Crypto] Provisioning entropy seed... complete.
*** Booting nRF Connect SDK v3.5.99-ncs1 ***
E: ***** BUS FAULT *****
E: Precise data bus error
E: BFAR Address: 0x20000000
E: r0/a1: �***

I tried to add an hci_rpmsg  conf and overlay to the child image but I still get the error.
Do you know how I can add BLE?

Thank you,

Sylvain

Parents Reply
  • Hi Sigurd,

    Thank you for the answer.
    Yes I actually know that sample.
    Though I can't even add CONFIG_BT=y to my project without having the BUS_FAULT @address 0x20000000

    I am assuming that this could be due to the TFM being enabled as when adding the CONFIG_BT the TFM address is changing in the SRAM

    Here's without BT enabled

    Here's with BT enabled

    I tried to disable the TFM though when I do I get this error when building : 
    -c C:/ncs/v2.6.0/nrf/drivers/entropy/entropy_cc3xx.c
    C:/ncs/v2.6.0/nrf/drivers/entropy/entropy_cc3xx.c:17:10: fatal error: nrf_cc3xx_platform_ctr_drbg.h: No such file or directory
    17 | #include "nrf_cc3xx_platform_ctr_drbg.h"
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    What's you thoughts about this?

    Thank you,

    Sylvain

Children
Related