Merge branch 'bugfix/app_compatible_with_3_1_bootloader' into 'master'

esp_system: Fix RTC_WDT protection in esp_restart_noos

See merge request espressif/esp-idf!16480
This commit is contained in:
morris 2021-12-24 03:43:52 +00:00
commit 0afafb743d

View File

@ -48,7 +48,6 @@ void IRAM_ATTR esp_restart_noos(void)
//Enable flash boot mode so that flash booting after restart is protected by the RTC WDT.
wdt_hal_set_flashboot_en(&rtc_wdt_ctx, true);
wdt_hal_write_protect_enable(&rtc_wdt_ctx);
// Reset and stall the other CPU.
// CPU must be reset before stalling, in case it was running a s32c1i