Add initialization config for new simavr tool

This commit is contained in:
Valerii Koval
2020-05-08 01:14:15 +03:00
parent 7e7a6d7807
commit 16966a4957

View File

@@ -141,6 +141,17 @@ $INIT_BREAK
monitor start
"""
GDB_SIMAVR_INIT_CONFIG = """
define pio_reset_halt_target
end
define pio_reset_run_target
end
target extended-remote $DEBUG_PORT
$INIT_BREAK
$LOAD_CMDS
"""
TOOL_TO_CONFIG = {
"jlink": GDB_JLINK_INIT_CONFIG,
@@ -148,6 +159,7 @@ TOOL_TO_CONFIG = {
"qemu": GDB_QEMU_INIT_CONFIG,
"blackmagic": GDB_BLACKMAGIC_INIT_CONFIG,
"renode": GDB_RENODE_INIT_CONFIG,
"simavr": GDB_SIMAVR_INIT_CONFIG,
}