nodemcu-firmware/sdkconfig.defaults

35 lines
1.1 KiB
Plaintext
Raw Normal View History

# Default to 4MB for builds
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
# Set custom partition table for 1.5MB firmware
CONFIG_PARTITION_TABLE_CUSTOM=y
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="components/platform/partitions.csv"
CONFIG_PARTITION_TABLE_SINGLE_APP=n
CONFIG_PARTITION_TABLE_TWO_OTA=n
# Squeeze in as much code as we can manage
CONFIG_COMPILER_OPTIMIZATION_SIZE=y
2017-09-12 22:21:33 +02:00
2017-03-28 10:39:13 +02:00
# Empirical value to prevent a firmware crash due to stack overflow.
CONFIG_ESP_MAIN_TASK_STACK_SIZE=8192
2017-07-06 23:55:32 +02:00
# Enable panic handler for task wdt to reset the firmware upon wdt timeout
CONFIG_ESP_TASK_WDT_PANIC=y
2017-09-12 22:21:33 +02:00
# Disable advanced features by default
CONFIG_MQTT_TRANSPORT_SSL=n
CONFIG_MQTT_TRANSPORT_WEBSOCKET=n
CONFIG_MQTT_USE_CUSTOM_CONFIG=n
2018-03-29 22:41:28 +02:00
# Enable address reuse for sockets in TIME_WAIT
# see https://github.com/nodemcu/nodemcu-firmware/pull/1838
CONFIG_LWIP_SO_REUSE=y
2018-10-07 12:33:40 +02:00
# Decrease the duration of sockets in TIME_WAIT
# see https://github.com/nodemcu/nodemcu-firmware/issues/1836
CONFIG_LWIP_TCP_MSL=5000
2018-10-07 12:33:40 +02:00
# Disable esp-idf's bluetooth component by default.
# The bthci module is also disabled and will enable bt when selected
CONFIG_BT_ENABLED=n