21 lines
725 B
Plaintext
21 lines
725 B
Plaintext
# 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/sam/.espressif/tools/esp-rom-elfs/20241011/esp32c6_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 /media/sam/8294CD2994CD2111/Users/Dell/Documents/ESP/zigbee_router_c6/build/bootloader/bootloader.elf
|
|
set confirm on
|
|
|
|
# Load application symbols
|
|
file /media/sam/8294CD2994CD2111/Users/Dell/Documents/ESP/zigbee_router_c6/build/zigbee_router_c6.elf
|