ulp: clear rtc int at initialization

Closes https://github.com/espressif/esp-idf/issues/6654
This commit is contained in:
Renz Bagaporo
2021-03-24 19:58:12 +08:00
parent 754c8fcaa5
commit 3639c2322b
6 changed files with 16 additions and 0 deletions

View File

@@ -80,4 +80,7 @@ __attribute__((weak)) void bootloader_clock_configure(void)
rtc_clk_32k_bootstrap(CONFIG_ESP_SYSTEM_RTC_EXT_XTAL_BOOTSTRAP_CYCLES);
}
#endif // CONFIG_ESP_SYSTEM_RTC_EXT_XTAL
REG_WRITE(RTC_CNTL_INT_ENA_REG, 0);
REG_WRITE(RTC_CNTL_INT_CLR_REG, UINT32_MAX);
}