Browse Source

Updated ESP-IDF to latest.

devsaurus 6 years ago
parent
commit
efffa92b77
2 changed files with 8 additions and 1 deletions
  1. 1 1
      sdk/esp32-esp-idf
  2. 7 0
      sdkconfig.defaults

+ 1 - 1
sdk/esp32-esp-idf

@@ -1 +1 @@
-Subproject commit 9a26296a0e88a4c3ae27e9c848be970946fff87e
+Subproject commit da2781631455b2c87c01704503f70443799a5187

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