Hi,
i am using MCUBOOT + nrF5340 and i am using the nRF Connect Device Manager to upload firmware and perform the upgrade.
I would like to know if it is possible to execute code before the upgrade of the firmware starts. In the specific case, i would like have a led blinking ONLY when the firmware upgrade is on going (that is, a new image has been detected, validated and being then swapped with the actual one).
I know that there is the SYS_INIT(_init_fn, _level, _prio).
Are there other options `?
Thanks in advance !
Kind regards
Riccardo Gaiati