feat(brownout): Add brownout support for esp32h4

This commit is contained in:
C.S.M
2026-04-16 16:21:17 +08:00
parent 204549529a
commit e678d76251
9 changed files with 277 additions and 51 deletions
@@ -41,6 +41,7 @@
#include "hal/efuse_hal.h"
#include "hal/lpwdt_ll.h"
#include "hal/assist_debug_ll.h"
#include "hal/brownout_ll.h"
ESP_LOG_ATTR_TAG(TAG, "boot.esp32h4");
@@ -101,7 +102,7 @@ static inline void bootloader_ana_reset_config(void)
//Enable super WDT reset.
bootloader_ana_super_wdt_reset_config(true);
//Enable BOD reset
//TODO: [ESP32H4] IDF-12295 need check
brownout_ll_ana_reset_enable(true);
}
static inline void bootloader_config_dcache(void)