- ESP32-C3 SPI slave project with ESP-NOW broadcast functionality - Raspberry Pi SPI master test tools and CLI for JSON communication - Merged src/ directory from full branch with lighting controller code - Updated Pipfile with system install scripts and ESP32 monitoring - Added comprehensive test suite for SPI communication
31 lines
1.1 KiB
Plaintext
31 lines
1.1 KiB
Plaintext
# Load esp32c3 ROM ELF symbols
|
|
define target hookpost-remote
|
|
set confirm off
|
|
# if $_streq((char *) 0x3ff1b878, "Sep 18 2020")
|
|
if (*(int*) 0x3ff1b878) == 0x20706553 && (*(int*) 0x3ff1b87c) == 0x32203831 && (*(int*) 0x3ff1b880) == 0x303230
|
|
add-symbol-file /home/pi/.espressif/tools/esp-rom-elfs/20241011/esp32c3_rev0_rom.elf
|
|
else
|
|
# if $_streq((char *) 0x3ff1a374, "Feb 7 2021")
|
|
if (*(int*) 0x3ff1a374) == 0x20626546 && (*(int*) 0x3ff1a378) == 0x32203720 && (*(int*) 0x3ff1a37c) == 0x313230
|
|
add-symbol-file /home/pi/.espressif/tools/esp-rom-elfs/20241011/esp32c3_rev3_rom.elf
|
|
else
|
|
# if $_streq((char *) 0x3ff1a3dc, "Mar 1 2023")
|
|
if (*(int*) 0x3ff1a3dc) == 0x2072614d && (*(int*) 0x3ff1a3e0) == 0x32203120 && (*(int*) 0x3ff1a3e4) == 0x333230
|
|
add-symbol-file /home/pi/.espressif/tools/esp-rom-elfs/20241011/esp32c3_rev101_rom.elf
|
|
else
|
|
echo Warning: Unknown esp32c3 ROM revision.\n
|
|
end
|
|
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/pi/lighting-controller/esp32/build/bootloader/bootloader.elf
|