2017-09-12 22:21:33 +02:00
|
|
|
# Don't warn about undefined variables
|
|
|
|
CONFIG_MAKE_WARN_UNDEFINED_VARIABLES=n
|
|
|
|
|
2017-03-28 10:39:13 +02:00
|
|
|
# Empirical value to prevent a firmware crash due to stack overflow.
|
2017-04-01 10:10:44 +02:00
|
|
|
CONFIG_MAIN_TASK_STACK_SIZE=8192
|
2017-07-06 23:55:32 +02:00
|
|
|
|
|
|
|
# Enable address reuse for sockets in TIME_WAIT
|
|
|
|
# see https://github.com/nodemcu/nodemcu-firmware/pull/1838
|
|
|
|
CONFIG_LWIP_SO_REUSE=y
|
2017-09-12 22:21:33 +02:00
|
|
|
|
|
|
|
# Decrease the duration of sockets in TIME_WAIT
|
|
|
|
# see https://github.com/nodemcu/nodemcu-firmware/issues/1836
|
|
|
|
CONFIG_TCP_MSL=5000
|
2018-03-29 22:41:28 +02:00
|
|
|
|
|
|
|
# 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
|