Skip to content

Commit

Permalink
testing/esp: force nuttx bps to hard
Browse files Browse the repository at this point in the history
  • Loading branch information
erhankur committed Oct 22, 2024
1 parent 711680e commit e69b664
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion testing/esp/debug_backend_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ def prepare_app_for_debugging(self, app_flash_off):
# TODO: chip dependent
self.oocd.set_appimage_offset(app_flash_off)
self.gdb.connect()
bp = self.gdb.add_bp(self.test_app_cfg.entry_point)
bp = self.gdb.add_bp(self.test_app_cfg.entry_point, hw=True)
self.resume_exec()
rsn = self.gdb.wait_target_state(dbg.TARGET_STATE_STOPPED, 10)
# workarounds for strange debugger's behaviour
Expand Down
2 changes: 1 addition & 1 deletion testing/esp/test_nuttx.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def test_threads_backtraces(self):
NAME_START = 6
NAME_LEN = 15
tasks_level = [3, 4, 5]
self.add_bp('threadsbt')
self.add_bp('threadsbt', hw=True)
self.run_to_bp(dbg.TARGET_STOP_REASON_BP, 'threadsbt', tmo=120)
_,threads_info = self.gdb.get_thread_info()
for ti in threads_info:
Expand Down

0 comments on commit e69b664

Please sign in to comment.