From 16966a49573eb05d14506c3e2e629ef722a6a697 Mon Sep 17 00:00:00 2001 From: Valerii Koval Date: Fri, 8 May 2020 01:14:15 +0300 Subject: [PATCH] Add initialization config for new simavr tool --- platformio/commands/debug/initcfgs.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/platformio/commands/debug/initcfgs.py b/platformio/commands/debug/initcfgs.py index 55e7c34f..bb319270 100644 --- a/platformio/commands/debug/initcfgs.py +++ b/platformio/commands/debug/initcfgs.py @@ -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, }