MCUBoot image swapping progress

Hi,

Platform : nrf52840, NCS 2.7.0

I would like to get the MCUBoot image swapping progress without modify the NCS, and display a progress bar on the LCD to indicate the upgrade progress.

I noted that there is CONFIG_MCUBOOT_ACTION_HOOKS to get the mcuboot_status_type_t, and I am able to print the mcuboot status according to the mcuboot_recovery_retention example, but the mcuboot_status_change function can not meet our requirement, it is not able to indicate the image swapping progress but indicate

MCUBOOT_STATUS_UPGRADING before entering boot_perform_update function.
Are there any other hooks that can indicate the progress of the image swapping ?

 

Related