Merge branch 'bugfix/idf_py_ext_debug_ut_coex' into 'master'
idf.py: fix debug extenstion to work with unit tests See merge request espressif/esp-idf!8306
This commit is contained in:
commit
5cf8c68881
1 changed files with 2 additions and 2 deletions
|
@ -100,9 +100,9 @@ def action_extensions(base_actions, project_path):
|
||||||
_terminate_async_target("gdbgui")
|
_terminate_async_target("gdbgui")
|
||||||
_terminate_async_target("gdb")
|
_terminate_async_target("gdb")
|
||||||
|
|
||||||
def post_debug(action, ctx, args, block):
|
def post_debug(action, ctx, args, **kwargs):
|
||||||
""" Deal with asynchronous targets, such as openocd running in background """
|
""" Deal with asynchronous targets, such as openocd running in background """
|
||||||
if block == 1:
|
if kwargs["block"] == 1:
|
||||||
for target in ["openocd", "gdbgui"]:
|
for target in ["openocd", "gdbgui"]:
|
||||||
if target in processes and processes[target] is not None:
|
if target in processes and processes[target] is not None:
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in a new issue