micropython/tests/esp32/partition_ota.py.exp
Thorsten von Eicken 952ff8a8ea esp32: Improve support for OTA updates.
This commit adds several small items to improve the support for OTA
updates on an esp32:

- a partition table for 4MB flash modules that has two OTA partitions ready
  to go to do updates
- a GENERIC_OTA board that uses that partition table and that enables
  automatic roll-back in the bootloader
- a new esp32.Partition.mark_app_valid_cancel_rollback() class-method to
  signal that the boot is successful and should not be rolled back at the
  next reset
- an automated test for doing an OTA update
- documentation updates
2020-05-03 15:00:45 +10:00

16 lines
335 B
Plaintext

Copying current to next partition
########
Partition copied, booting into it
########
Not confirming boot ok and resetting back into first
########
Booting into second partition again
########
Confirming boot ok and rebooting into same partition
########
Booting into original partition
########
Confirming boot ok and DONE!
SUCCESS!