8c70e4f1c1
Write protection must be disabled before performing changes to the WDT registers. Furthermore, the routine was resetting the wrong field from the RTC WDT register. The RTC_CNTL_WDT_FLASHBOOT_MOD_EN field relates to Flash Boot Protection and it is enabled by the 1st stage bootloader. The 2nd stage bootloader takes care of disabling it. Then the 2nd stage bootloader enables the RTC WDT for checking the startup sequence of the application image. Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com> |
||
---|---|---|
.. | ||
include | ||
src | ||
Kconfig |