mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 04:43:33 +00:00
panic: Add support for SoC-level panic
Activate "invalid access to cache raises panic (PRO CPU)" CI unit test in order to test SoC-level panics.
This commit is contained in:
@@ -126,11 +126,11 @@ void esp_int_wdt_cpu_init(void)
|
||||
|
||||
/* Set the type and priority to cache error interrupts, if supported. */
|
||||
#if SOC_INTERRUPT_TYPE_CAN_SET
|
||||
interrupt_controller_hal_set_type(BIT(WDT_INT_NUM), INTR_TYPE_LEVEL);
|
||||
interrupt_controller_hal_set_type(WDT_INT_NUM, INTR_TYPE_LEVEL);
|
||||
#endif
|
||||
|
||||
#if SOC_INTERRUPT_LEVEL_CAN_SET
|
||||
interrupt_controller_hal_set_level(WDT_INT_NUM, 4);
|
||||
interrupt_controller_hal_set_level(WDT_INT_NUM, SOC_INTERRUPT_LEVEL_MEDIUM);
|
||||
#endif
|
||||
|
||||
#if CONFIG_ESP32_ECO3_CACHE_LOCK_FIX
|
||||
|
Reference in New Issue
Block a user