From 990b10bbca9eb4c41fa9963dd0a700d1feb4e4e5 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 29 Dec 2023 17:22:05 +1100 Subject: [PATCH] Tools: added esp32s3empty and gdb startup file for esp32 --- Tools/debug/gdb-openocd-esp32.init | 13 +++++++++++++ Tools/scripts/size_compare_branches.py | 1 + 2 files changed, 14 insertions(+) create mode 100644 Tools/debug/gdb-openocd-esp32.init diff --git a/Tools/debug/gdb-openocd-esp32.init b/Tools/debug/gdb-openocd-esp32.init new file mode 100644 index 0000000000..b4e10495a0 --- /dev/null +++ b/Tools/debug/gdb-openocd-esp32.init @@ -0,0 +1,13 @@ +# copy this file to .gdbinit in your Firmware tree + +# this sets up gdb to use openocd. You must start openocd first +target extended-remote :3333 + +set print pretty +set remote hardware-watchpoint-limit 2 +mon reset halt +maintenance flush register-cache +thb app_main +b AP_HAL::panic +set confirm off +c diff --git a/Tools/scripts/size_compare_branches.py b/Tools/scripts/size_compare_branches.py index 0875159585..9749569d87 100755 --- a/Tools/scripts/size_compare_branches.py +++ b/Tools/scripts/size_compare_branches.py @@ -208,6 +208,7 @@ class SizeCompareBranches(object): 'esp32tomte76', 'esp32nick', 'esp32s3devkit', + 'esp32s3empty', 'esp32icarous', 'esp32diy', ]