Initial commit: ESP32-C6 Zigbee sensor switch project
This commit is contained in:
20
build/bootloader/gdbinit/symbols
Normal file
20
build/bootloader/gdbinit/symbols
Normal 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/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
|
||||
# Bootloader elf was not found
|
||||
set confirm on
|
||||
|
||||
# Load application symbols
|
||||
file /media/sam/8294CD2994CD2111/Users/Dell/Documents/ESP/zigbee_sensor_switch/build/bootloader/bootloader.elf
|
||||
Reference in New Issue
Block a user