mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-08 00:13:20 +00:00
feat(power_glich): support power_glitch of esp32c5_eco1 and above, eco32c61 eco2 and above
This commit is contained in:

committed by
BOT

parent
7bca1fe76f
commit
74c34669f0
@@ -94,11 +94,7 @@ static inline void bootloader_ana_reset_config(void)
|
||||
{
|
||||
//Enable BOD reset (mode1)
|
||||
brownout_ll_ana_reset_enable(true);
|
||||
if (efuse_hal_chip_revision() == 0) {
|
||||
// decrease power glitch reset voltage to avoid start the glitch reset
|
||||
uint8_t power_glitch_dref = 0;
|
||||
bootloader_power_glitch_reset_config(true, power_glitch_dref);
|
||||
}
|
||||
bootloader_power_glitch_reset_config(true);
|
||||
}
|
||||
|
||||
esp_err_t bootloader_init(void)
|
||||
|
Reference in New Issue
Block a user