Explorar o código

Merge branch 'bugfix/app_compatible_with_3_1_bootloader' into 'master'

esp_system: Fix RTC_WDT protection in esp_restart_noos

See merge request espressif/esp-idf!16480
morris %!s(int64=4) %!d(string=hai) anos
pai
achega
0afafb743d
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      components/esp_system/port/soc/esp32/system_internal.c

+ 0 - 1
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