From 8f2045f0da7c5cff5f3d26b1b2ea223394efc6a6 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 e6a15e6414..432c44067b 100644 --- a/components/esp_system/port/soc/esp32/system_internal.c +++ b/components/esp_system/port/soc/esp32/system_internal.c @@ -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