From ff96769b0e3c7280440d25f82f1c641295961124 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/esp_system/port/soc/esp32/system_internal.c | 1 - 1 file changed, 1 deletion(-) diff --git a/components/esp_system/port/soc/esp32/system_internal.c b/components/esp_system/port/soc/esp32/system_internal.c index 07e8e86933..c2249e0ed6 100644 --- a/components/esp_system/port/soc/esp32/system_internal.c +++ b/components/esp_system/port/soc/esp32/system_internal.c @@ -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