From dab6533ae09fff3c9611f84c5897d7f7cbfd584f Mon Sep 17 00:00:00 2001 From: jacqueline Date: Wed, 12 Oct 2022 16:46:36 +1100 Subject: [PATCH] add gdb script for attaching to the esp32 openocd --- tools/gdbinit | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tools/gdbinit diff --git a/tools/gdbinit b/tools/gdbinit new file mode 100644 index 00000000..59dbe0a3 --- /dev/null +++ b/tools/gdbinit @@ -0,0 +1,6 @@ +target extended-remote :3333 +set remote hardware-watchpoint-limit 2 +mon reset halt +flushregs +thb app_main +c