2018-09-20 07:26:14 -04:00
|
|
|
# Increase main task stack size
|
2019-04-30 06:51:55 -04:00
|
|
|
CONFIG_ESP_MAIN_TASK_STACK_SIZE=7168
|
2018-09-20 07:26:14 -04:00
|
|
|
|
2023-09-07 03:36:01 -04:00
|
|
|
# Enable filesystem for console commands history storage
|
|
|
|
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
|
2018-09-20 07:26:14 -04:00
|
|
|
CONFIG_PARTITION_TABLE_CUSTOM=y
|
|
|
|
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions_example.csv"
|
|
|
|
CONFIG_PARTITION_TABLE_FILENAME="partitions_example.csv"
|
|
|
|
|
|
|
|
# Enable FreeRTOS stats formatting functions, needed for 'tasks' command
|
|
|
|
CONFIG_FREERTOS_USE_TRACE_FACILITY=y
|
|
|
|
CONFIG_FREERTOS_USE_STATS_FORMATTING_FUNCTIONS=y
|
|
|
|
|
2023-09-07 03:36:01 -04:00
|
|
|
# --------------------------------
|
|
|
|
# Performance optimization options
|
|
|
|
# --------------------------------
|
|
|
|
# `lwIP` and `iperf` tasks have serial dependency to each other (i.e. `iperf` must wait for `lwIP`
|
|
|
|
# to process the packets). Therefore, you don't gain much performance improvement when running
|
|
|
|
# multi core mode. On the other hand, IRAM optimizations have greater effect for single core mode.
|
|
|
|
|
2021-08-25 01:31:34 -04:00
|
|
|
# Run FreeRTOS only on the first core
|
|
|
|
CONFIG_FREERTOS_UNICORE=y
|
|
|
|
|
|
|
|
# Disable watch dog
|
|
|
|
CONFIG_ESP_INT_WDT=n
|
2022-09-27 02:41:12 -04:00
|
|
|
CONFIG_ESP_TASK_WDT_EN=n
|
2022-03-23 08:12:19 -04:00
|
|
|
|
|
|
|
# Enable lwIP IRAM optimization
|
|
|
|
CONFIG_LWIP_IRAM_OPTIMIZATION=y
|
2023-09-01 12:27:04 -04:00
|
|
|
|
|
|
|
# Enable Ethernet IRAM optimization
|
|
|
|
CONFIG_ETH_IRAM_OPTIMIZATION=y
|