system_upgrade_flag_set(UPGRADE_FLAG_FINISH);
system_upgrade_reboot();
to finalize the OTA upgrade.
Question: Is there a way to boot the new image ONLY ONCE? So that its functionality can be verified BEFORE the change becomes permanent?
Edit:
Question 2: How does the bootloader (1.7) determine the current image is "broken"? I understand it reverts the change and goes back to the other image if something is wrong. But what must be wrong? I've seen it boot one image that caused an exception over and over and over again with no attempt to go to the other image. I had to reflash manually via UART.Statistics: Posted by blubb — Tue Oct 24, 2017 9:55 pm
]]>