it blinks!!!

This commit is contained in:
2025-11-16 19:18:46 -08:00
commit d54a1ea970
1405 changed files with 151048 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 /home/nik/repos/esp32/build/bootloader/gdbinit/symbols
source /home/nik/repos/esp32/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,25 @@
# Load esp32 ROM ELF symbols
define target hookpost-remote
set confirm off
# if $_streq((char *) 0x3ff9ea80, "Jun 8 2016")
if (*(int*) 0x3ff9ea80) == 0x206e754a && (*(int*) 0x3ff9ea84) == 0x32203820 && (*(int*) 0x3ff9ea88) == 0x363130
add-symbol-file /home/nik/.espressif/tools/esp-rom-elfs/20241011/esp32_rev0_rom.elf
else
# if $_streq((char *) 0x3ff9e986, "Jul 29 2019")
if (*(int*) 0x3ff9e986) == 0x206c754a && (*(int*) 0x3ff9e98a) == 0x32203932 && (*(int*) 0x3ff9e98e) == 0x393130
add-symbol-file /home/nik/.espressif/tools/esp-rom-elfs/20241011/esp32_rev300_rom.elf
else
echo Warning: Unknown esp32 ROM revision.\n
end
end
set confirm on
end
# Load bootloader symbols
set confirm off
# Bootloader elf was not found
set confirm on
# Load application symbols
file /home/nik/repos/esp32/build/bootloader/bootloader.elf