From efffa92b77e5900f563740fe131e36c97240dad2 Mon Sep 17 00:00:00 2001 From: devsaurus Date: Thu, 29 Mar 2018 22:41:28 +0200 Subject: [PATCH] Updated ESP-IDF to latest. --- sdk/esp32-esp-idf | 2 +- sdkconfig.defaults | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/sdk/esp32-esp-idf b/sdk/esp32-esp-idf index 9a26296a..da278163 160000 --- a/sdk/esp32-esp-idf +++ b/sdk/esp32-esp-idf @@ -1 +1 @@ -Subproject commit 9a26296a0e88a4c3ae27e9c848be970946fff87e +Subproject commit da2781631455b2c87c01704503f70443799a5187 diff --git a/sdkconfig.defaults b/sdkconfig.defaults index 432806e9..3aa32603 100644 --- a/sdkconfig.defaults +++ b/sdkconfig.defaults @@ -11,3 +11,10 @@ CONFIG_LWIP_SO_REUSE=y # Decrease the duration of sockets in TIME_WAIT # see https://github.com/nodemcu/nodemcu-firmware/issues/1836 CONFIG_TCP_MSL=5000 + +# Allow writing to dangerous regions to avoid boot loops when creating filesystem +# Symptom: +# Mounting flash filesystem... +# No filesystem partition found, attempting to create it... +# abort() was called at PC 0x400ecddd on core 0 +CONFIG_SPI_FLASH_WRITING_DANGEROUS_REGIONS_ALLOWED=y