diff --git a/components/esp_rom/esp32h4/include/esp32h4/rom/rtc.h b/components/esp_rom/esp32h4/include/esp32h4/rom/rtc.h index f7f493773b..2157a2f54f 100644 --- a/components/esp_rom/esp32h4/include/esp32h4/rom/rtc.h +++ b/components/esp_rom/esp32h4/include/esp32h4/rom/rtc.h @@ -100,7 +100,8 @@ typedef enum { USB_UART_CHIP_RESET = 21, /**<21, usb uart reset digital core (hp system)*/ USB_JTAG_CHIP_RESET = 22, /**<22, usb jtag reset digital core (hp system)*/ JTAG_RESET = 24, /**<24, jtag reset CPU*/ - CPU_LOCKUP_RESET = 25, /**<25, cpu lockup reset*/ + RTC_PWR_GLITCH_RESET = 25, /**<25, RTC power glitch reset system*/ + CPU_LOCKUP_RESET = 26, /**<26, cpu lockup reset*/ } RESET_REASON; // Check if the reset reason defined in ROM is compatible with soc/reset_reasons.h diff --git a/components/soc/esp32h4/include/soc/reset_reasons.h b/components/soc/esp32h4/include/soc/reset_reasons.h index 95652defcf..14ae84996e 100644 --- a/components/soc/esp32h4/include/soc/reset_reasons.h +++ b/components/soc/esp32h4/include/soc/reset_reasons.h @@ -46,7 +46,7 @@ typedef enum { RESET_REASON_CORE_USB_UART = 0x15, // USB UART resets the digital core (hp system) RESET_REASON_CORE_USB_JTAG = 0x16, // USB JTAG resets the digital core (hp system) RESET_REASON_CPU0_JTAG = 0x18, // JTAG resets the CPU 0 - RESET_REASON_CPU_LOCKUP = 0x19, // Triggered when the CPU enters lockup (exception inside the exception handler would cause this) + RESET_REASON_CPU_LOCKUP = 0x1A, // Triggered when the CPU enters lockup (exception inside the exception handler would cause this) } soc_reset_reason_t; #ifdef __cplusplus