From 952ff8a8ea9ae6128ff5225b180d8daaacf447e4 Mon Sep 17 00:00:00 2001 From: Thorsten von Eicken Date: Wed, 1 Apr 2020 22:59:08 -0700 Subject: 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 --- tests/run-tests | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/run-tests') diff --git a/tests/run-tests b/tests/run-tests index 831d2eab5..859e459fc 100755 --- a/tests/run-tests +++ b/tests/run-tests @@ -56,6 +56,7 @@ def run_micropython(pyb, args, test_file, is_special=False): special_tests = ( 'micropython/meminfo.py', 'basics/bytes_compare3.py', 'basics/builtin_help.py', 'thread/thread_exc2.py', + 'esp32/partition_ota.py', ) had_crash = False if pyb is None: -- cgit v1.2.3