ESP32 Bootstraps

This commit is contained in:
2025-10-12 21:22:08 -04:00
parent 61bc3224a2
commit 2a0122832a
402 changed files with 32438 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/abobkov/MyProjects/ESP-Nodes/ESP32-Bootstraps/esp-idf/esp32-multitask/build/bootloader/gdbinit/symbols
source /home/abobkov/MyProjects/ESP-Nodes/ESP32-Bootstraps/esp-idf/esp32-multitask/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/abobkov/.espressif/tools/esp-rom-elfs/20230320/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/abobkov/.espressif/tools/esp-rom-elfs/20230320/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/abobkov/MyProjects/ESP-Nodes/ESP32-Bootstraps/esp-idf/esp32-multitask/build/bootloader/bootloader.elf