Initial commit

This commit is contained in:
2026-06-24 16:37:26 +08:00
commit 6347ccb13e
874 changed files with 104994 additions and 0 deletions

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

View File

@@ -0,0 +1,2 @@
source D:/27242/Desktop/led/build/bootloader/gdbinit/symbols
source D:/27242/Desktop/led/build/bootloader/gdbinit/connect

View File

@@ -0,0 +1 @@
# There is no prefix map defined for the project.

View File

@@ -0,0 +1,7 @@
# Add Python GDB extensions
python
try:
import freertos_gdb
except ModuleNotFoundError:
print('warning: python extension "freertos_gdb" not found.')
end

View File

@@ -0,0 +1,20 @@
# Load esp32c5 ROM ELF symbols
define target hookpost-remote
set confirm off
# if $_streq((char *) 0x4004b3c4, "Mar 29 2024")
if (*(int*) 0x4004b3c4) == 0x2072614d && (*(int*) 0x4004b3c8) == 0x32203932 && (*(int*) 0x4004b3cc) == 0x343230
add-symbol-file D:/app/Espressif/tools/esp-rom-elfs/20241011/esp32c5_rev0_rom.elf
else
echo Warning: Unknown esp32c5 ROM revision.\n
end
set confirm on
end
# Load bootloader symbols
set confirm off
# Bootloader elf was not found
set confirm on
# Load application symbols
file D:/27242/Desktop/led/build/bootloader/bootloader.elf