mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 08:04:33 +02:00
rtc: enable super wdt auto feed
This commit is contained in:
@@ -352,9 +352,15 @@ void abort(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void bootloader_super_wdt_auto_feed(void)
|
||||||
|
{
|
||||||
|
REG_SET_BIT(RTC_CNTL_SWD_CONF_REG, RTC_CNTL_SWD_AUTO_FEED_EN);
|
||||||
|
}
|
||||||
|
|
||||||
esp_err_t bootloader_init(void)
|
esp_err_t bootloader_init(void)
|
||||||
{
|
{
|
||||||
esp_err_t ret = ESP_OK;
|
esp_err_t ret = ESP_OK;
|
||||||
|
bootloader_super_wdt_auto_feed();
|
||||||
// protect memory region
|
// protect memory region
|
||||||
cpu_configure_region_protection();
|
cpu_configure_region_protection();
|
||||||
/* check that static RAM is after the stack */
|
/* check that static RAM is after the stack */
|
||||||
|
Reference in New Issue
Block a user