mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-23 01:05:14 +00:00
esp32: Add core dump saving to flash feature
Complimentary changes: 1) Partition table definitions files with core dump partition 2) Special sub-type for core dump partition 3) Special version of spi_flash_xxx 4) espcoredump.py is script to get core dump from flash and print useful info 5) FreeRTOS API was extended to get tasks snapshots
This commit is contained in:
@@ -40,5 +40,14 @@ void spi_flash_disable_interrupts_caches_and_other_cpu();
|
||||
// Enable cache, enable interrupts (to be added in future), resume scheduler
|
||||
void spi_flash_enable_interrupts_caches_and_other_cpu();
|
||||
|
||||
// Disables non-IRAM interrupt handlers on current CPU and caches on both CPUs.
|
||||
// This function is implied to be called from panic handler
|
||||
// when non-current CPU is halted and can not execute code from flash.
|
||||
void spi_flash_disable_interrupts_caches_and_other_cpu_panic();
|
||||
|
||||
// Enable cache, enable interrupts (to be added in future) on current CPU.
|
||||
// This function is implied to be called from panic handler
|
||||
// when non-current CPU is halted and can not execute code from flash.
|
||||
void spi_flash_enable_interrupts_caches_panic();
|
||||
|
||||
#endif //ESP_SPI_FLASH_CACHE_UTILS_H
|
||||
|
Reference in New Issue
Block a user