From 6781b4f5c50e8a3bcedc4c262031daff35158e4e Mon Sep 17 00:00:00 2001 From: Samuel Obuch Date: Mon, 16 Dec 2024 10:12:35 +0100 Subject: [PATCH] testing/esp: skip reprogramming flash --- testing/esp/py_debug_backend/debug_backend/hw_specific/esp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testing/esp/py_debug_backend/debug_backend/hw_specific/esp.py b/testing/esp/py_debug_backend/debug_backend/hw_specific/esp.py index 7ede5ae6d..965bab331 100644 --- a/testing/esp/py_debug_backend/debug_backend/hw_specific/esp.py +++ b/testing/esp/py_debug_backend/debug_backend/hw_specific/esp.py @@ -149,7 +149,7 @@ def target_program(self, file_name, off, actions='verify', tmo=30): tmo : int """ - self.monitor_run('program_esp %s %s 0x%x' % (fixup_path(file_name), actions, int(off)), tmo) + self.monitor_run('program_esp %s %s 0x%x skip_loaded' % (fixup_path(file_name), actions, int(off)), tmo) def target_program_bins(self, build_dir, file_name='flasher_args.json', actions='verify', tmo=45): """ @@ -164,7 +164,7 @@ def target_program_bins(self, build_dir, file_name='flasher_args.json', actions= tmo : int """ - self.monitor_run('program_esp_bins %s %s %s' % (fixup_path(build_dir), file_name, actions), tmo) + self.monitor_run('program_esp_bins %s %s %s skip_loaded' % (fixup_path(build_dir), file_name, actions), tmo) def _update_memory_map(self): self.monitor_run('esp appimage_offset 0x%x' % self.app_flash_offset, 5)