ncs 2.5.0 undefined reference to `boot_request_upgrade_multi'

Hi:

I updated the NCS to v2.5.0 from v2.3.0, and then I got a build error that  "undefined reference to `boot_request_upgrade_multi'", I already  #include <zephyr/dfu/mcuboot.h>, and can see the boot_request_upgrade_multi is defined in this header file.

I implemented a customer DFU on our product(based on nrf5340), and need to call 'boot_request_upgrade_multi' after the FW transfer to the external Flash, and everything is OK with NCS 2.3.0.

How do I call `boot_request_upgrade_multi' in the application code in NCS 2.5.0?

Thanks!

Related