Run another app once (without switching to it for the default)
Posted: Wed Sep 13, 2017 5:28 pm
Hello. I have 2 partitions, ota_0 and ota_1.
I would like to always boot to ota_0.
However, I would then like to run ota_1.
Is it possible to run ota_1 without making this the default?
If I use esp_ota_set_boot_partition(ota_1) I can run ota_1. However, if there is a reset while ota_1 is running, it will restart ota_1. I want to always run ota_0 after a reset.
Additionally, I do not want to rely on code in ota_1 to run esp_ota_set_boot_partition(ota_0).
Is it possible to run another app once only?
I would like to always boot to ota_0.
However, I would then like to run ota_1.
Is it possible to run ota_1 without making this the default?
If I use esp_ota_set_boot_partition(ota_1) I can run ota_1. However, if there is a reset while ota_1 is running, it will restart ota_1. I want to always run ota_0 after a reset.
Additionally, I do not want to rely on code in ota_1 to run esp_ota_set_boot_partition(ota_0).
Is it possible to run another app once only?