From f295efce123720378a25b3dda2db31c8f8ce567d Mon Sep 17 00:00:00 2001 From: KonstantinKondrashov Date: Tue, 21 Dec 2021 14:45:00 +0800 Subject: [PATCH] esp_system: Fix RTC_WDT protection in esp_restart_noos Fixed issue - v4.3 app not compatible with 3.1 bootloader --- components/esp32/system_api_esp32.c | 1 - 1 file changed, 1 deletion(-) diff --git a/components/esp32/system_api_esp32.c b/components/esp32/system_api_esp32.c index 2ed2e9b7a1..759d29e73e 100644 --- a/components/esp32/system_api_esp32.c +++ b/components/esp32/system_api_esp32.c @@ -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