DFU target API integration

Hi,

I am trying to integrate DFU into my application. Below is what I need to do.

I receive OTA application image over BLE (I can not use legacy DFU feature as we are using our own encryption for all the data exchange over BLE) and I need to write the application image.

I try using dfu_target APIs to do the work and I see undefined reference error for all the dfu_target APIs.

Please let me know what I need to do to include dfu_target APIs into my application.

Thank you in advance.

Parents Reply
  • Also I see there are many output build images and I want to know which output build image is suitable for DFU over BLE. (NOTE: I have 2 images in my application non-secure and TF-M images).

    I need to update both the images over DFU. I am confused which build image to write in the secondary slot so the MCUBoot can update both non-secure and secure in the next boot.

    Thanks in advance.

Children
Related