This commit is contained in:
Clawdia
2026-08-11 22:33:36 +02:00
commit 6cf7455986
51 changed files with 50733 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
# Connect to the default openocd-esp port and stop on app_main()
set remotetimeout 10
target remote :3333
monitor reset halt
maintenance flush register-cache
thbreak app_main
continue
+2
View File
@@ -0,0 +1,2 @@
source /home/claw/.openclaw/workspace/led-laser-frequenzen/.pio/build/xiao-esp32c6/gdbinit/symbols
source /home/claw/.openclaw/workspace/led-laser-frequenzen/.pio/build/xiao-esp32c6/gdbinit/connect
@@ -0,0 +1 @@
# There is no prefix map defined for the project.
@@ -0,0 +1,7 @@
# Add Python GDB extensions
python
try:
import freertos_gdb
except ModuleNotFoundError:
print('warning: python extension "freertos_gdb" not found.')
end
+20
View File
@@ -0,0 +1,20 @@
# Load esp32c6 ROM ELF symbols
define target hookpost-remote
set confirm off
# if $_streq((char *) 0x4004a798, "Sep 19 2022")
if (*(int*) 0x4004a798) == 0x20706553 && (*(int*) 0x4004a79c) == 0x32203931 && (*(int*) 0x4004a7a0) == 0x323230
add-symbol-file /home/claw/.platformio/packages/tool-esp-rom-elfsesp32c6_rev0_rom.elf
else
echo Warning: Unknown esp32c6 ROM revision.\n
end
set confirm on
end
# Load bootloader symbols
set confirm off
add-symbol-file /home/claw/.openclaw/workspace/led-laser-frequenzen/.pio/build/xiao-esp32c6/bootloader/bootloader.elf
set confirm on
# Load application symbols
file /home/claw/.openclaw/workspace/led-laser-frequenzen/.pio/build/xiao-esp32c6/led-laser-frequenzen.elf