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

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

See merge request espressif/esp-idf!16741
This commit is contained in:
Zim Kalinowski
2022-01-12 08:39:02 +00:00

View File

@ -52,7 +52,6 @@ void IRAM_ATTR esp_restart_noos(void)
wdt_hal_config_stage(&rtc_wdt_ctx, WDT_STAGE0, stage_timeout_ticks, WDT_STAGE_ACTION_RESET_SYSTEM);
wdt_hal_config_stage(&rtc_wdt_ctx, WDT_STAGE1, stage_timeout_ticks, WDT_STAGE_ACTION_RESET_RTC);
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