sdkconfig.defaults 836 B

1234567891011121314151617181920212223
  1. # Don't warn about undefined variables
  2. CONFIG_MAKE_WARN_UNDEFINED_VARIABLES=n
  3. # Empirical value to prevent a firmware crash due to stack overflow.
  4. CONFIG_MAIN_TASK_STACK_SIZE=8192
  5. # Enable address reuse for sockets in TIME_WAIT
  6. # see https://github.com/nodemcu/nodemcu-firmware/pull/1838
  7. CONFIG_LWIP_SO_REUSE=y
  8. # Decrease the duration of sockets in TIME_WAIT
  9. # see https://github.com/nodemcu/nodemcu-firmware/issues/1836
  10. CONFIG_TCP_MSL=5000
  11. # Allow writing to dangerous regions to avoid boot loops when creating filesystem
  12. # Symptom:
  13. # Mounting flash filesystem...
  14. # No filesystem partition found, attempting to create it...
  15. # abort() was called at PC 0x400ecddd on core 0
  16. CONFIG_SPI_FLASH_WRITING_DANGEROUS_REGIONS_ALLOWED=y
  17. # Enable panic handler for task wdt to reset the firmware upon wdt timeout
  18. CONFIG_TASK_WDT_PANIC=y