we have been successful in implementing and deploying the OTA bootloader in Upgradable Stack use case - great module!
Depending on a specific system state (and/or a GPIO), we'd like to forcibly launch the Stack Application or the User Application from within the Launcher (i.e., the bootloader).
We found no explicit function in Loader's code to achieve this, so after a bit of analysis we ended up adding the following calls to the code:
depending on which application we want to force.
Is this a suitable approach or does anyone have a better/alternate solution?
Yes, this should be fine.