Hi,
I want to use the MCUboot for the DFU and I have been able to configure it and flash it on the device so far (tested that it is correctly flashed).
But I need to make some modifications to the MCUboot's booting process to match with the device's specifications, the modifications that I need to do are:
- Set a PIN on High as soon as it is powered, the device's turn off if I don't.
- The device runs on battery so I need to check that the charger is connected before or that it has enough battery.
- Change the upgrade strategy from swapping the images in the memory slots to just changing the address of the image that it will boot.
I would like to know the best way to make this modifications and in the case of the third point if there is a configuration option or example.