This commit is contained in:
2026-06-12 12:40:08 -04:00
parent 200156c432
commit 8303ea9d10
18 changed files with 567 additions and 0 deletions

21
08-74HC595-Snake/.gdbinit Normal file
View File

@@ -0,0 +1,21 @@
# 1. Connect to the running OpenOCD server
target remote :3333
# 2. Configure GDB for Espressif-specific environments
set remote hardware-watchpoint-limit 2
set remote hardware-breakpoint-limit 2
set mem inaccessible-by-default off
# 3. Handle FreeRTOS multi-threading without crashing GDB
handle SIGTRAP noprint nostop pass
# 4. Define a custom macro to safely reset the ESP32-S3
define reset
monitor reset halt
flushregs
end
# 5. Execute a fresh reset and set initial breakpoint
reset
thbreak setup
continue