Use generic GDB_MSPDEBUG_INIT_CONFIG

This commit is contained in:
Ivan Kravets
2019-04-19 19:58:34 +03:00
parent f1da544279
commit c7d8b50474
2 changed files with 2 additions and 2 deletions

View File

@ -111,7 +111,7 @@ class GDBClient(BaseProcess): # pylint: disable=too-many-instance-attributes
elif "st-util" in server_exe: elif "st-util" in server_exe:
cfg = initcfgs.GDB_STUTIL_INIT_CONFIG cfg = initcfgs.GDB_STUTIL_INIT_CONFIG
elif "mspdebug" in server_exe: elif "mspdebug" in server_exe:
cfg = initcfgs.MSPDEBUG_INIT_CONFIG cfg = initcfgs.GDB_MSPDEBUG_INIT_CONFIG
elif self.debug_options['require_debug_port']: elif self.debug_options['require_debug_port']:
cfg = initcfgs.GDB_BLACKMAGIC_INIT_CONFIG cfg = initcfgs.GDB_BLACKMAGIC_INIT_CONFIG
else: else:

View File

@ -94,7 +94,7 @@ end
set language auto set language auto
""" """
MSPDEBUG_INIT_CONFIG = """ GDB_MSPDEBUG_INIT_CONFIG = """
define pio_reset_halt_target define pio_reset_halt_target
end end