Skip to content

Commit

Permalink
testing/esp: skip reprogramming flash
Browse files Browse the repository at this point in the history
  • Loading branch information
sobuch committed Dec 17, 2024
1 parent 2a739e4 commit 6781b4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testing/esp/py_debug_backend/debug_backend/hw_specific/esp.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
"""
Expand All @@ -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)
Expand Down

0 comments on commit 6781b4f

Please sign in to comment.