sdkconfig.defaults 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. # Increase main task stack size
  2. CONFIG_ESP_MAIN_TASK_STACK_SIZE=7168
  3. # Enable filesystem for console commands history storage
  4. CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
  5. CONFIG_PARTITION_TABLE_CUSTOM=y
  6. CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions_example.csv"
  7. CONFIG_PARTITION_TABLE_FILENAME="partitions_example.csv"
  8. # Enable FreeRTOS stats formatting functions, needed for 'tasks' command
  9. CONFIG_FREERTOS_USE_TRACE_FACILITY=y
  10. CONFIG_FREERTOS_USE_STATS_FORMATTING_FUNCTIONS=y
  11. # --------------------------------
  12. # Performance optimization options
  13. # --------------------------------
  14. # `lwIP` and `iperf` tasks have serial dependency to each other (i.e. `iperf` must wait for `lwIP`
  15. # to process the packets). Therefore, you don't gain much performance improvement when running
  16. # multi core mode. On the other hand, IRAM optimizations have greater effect for single core mode.
  17. # Run FreeRTOS only on the first core
  18. CONFIG_FREERTOS_UNICORE=y
  19. # Disable watch dog
  20. CONFIG_ESP_INT_WDT=n
  21. CONFIG_ESP_TASK_WDT_EN=n
  22. # Enable lwIP IRAM optimization
  23. CONFIG_LWIP_IRAM_OPTIMIZATION=y
  24. # Enable Ethernet IRAM optimization
  25. CONFIG_ETH_IRAM_OPTIMIZATION=y