mirror of
https://github.com/espressif/esp-idf.git
synced 2026-09-22 13:01:16 +03:00
refactor(esp_system): factor the memprot panic report out of panic_arch.c
Move print_memprot_err_details() and its state out of the RISC-V panic_arch.c into port/panic_memprot.c behind panic_memprot_fill_info(), so the report can be shared with the Xtensa PMS targets. No functional change.
This commit is contained in:
@@ -90,6 +90,10 @@ void panic_prepare_frame_from_ctx(void* frame);
|
||||
|
||||
void panic_clear_active_interrupts(const void* frame);
|
||||
|
||||
#if CONFIG_ESP_SYSTEM_MEMPROT && CONFIG_ESP_SYSTEM_MEMPROT_PMS && !CONFIG_IDF_TARGET_ESP32S2
|
||||
bool panic_memprot_fill_info(panic_info_t *info);
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Disable all watchdog timers
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user