Merge branch 'bugfix/app_compatible_with_3_1_bootloader_v4.4' into 'release/v4.4'

esp_system: Fix RTC_WDT protection in esp_restart_noos (v4.4)

See merge request espressif/esp-idf!16740
This commit is contained in:
Zim Kalinowski
2022-01-26 00:50:54 +00:00

View File

@ -56,7 +56,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