From 23e634245c8a72c0923e4ab6762ef57fab7d0f27 Mon Sep 17 00:00:00 2001 From: okhsunrog Date: Fri, 23 Feb 2024 12:18:20 +0300 Subject: [PATCH] update sdkconfig.defaults --- sdkconfig.defaults | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/sdkconfig.defaults b/sdkconfig.defaults index bc6c742..79a6452 100644 --- a/sdkconfig.defaults +++ b/sdkconfig.defaults @@ -2,8 +2,8 @@ CONFIG_PARTITION_TABLE_CUSTOM=y CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv" CONFIG_PARTITION_TABLE_FILENAME="partitions.csv" -CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y -CONFIG_ESPTOOLPY_HEADER_FLASHSIZE_UPDATE=y +# CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y +# CONFIG_ESPTOOLPY_HEADER_FLASHSIZE_UPDATE=y # UART CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG=y @@ -13,3 +13,19 @@ CONFIG_UART_ISR_IN_IRAM=y # FreeRTOS CONFIG_FREERTOS_HZ=1000 +CONFIG_ESP_SYSTEM_EVENT_QUEUE_SIZE=32 +CONFIG_ESP_SYSTEM_EVENT_TASK_STACK_SIZE=2304 +CONFIG_ESP_MAIN_TASK_STACK_SIZE=7168 +CONFIG_ESP_MINIMAL_SHARED_STACK_SIZE=2048 + +# Enable FreeRTOS stats formatting functions, needed for 'tasks' command +CONFIG_FREERTOS_USE_TRACE_FACILITY=y +CONFIG_FREERTOS_USE_STATS_FORMATTING_FUNCTIONS=y + +# WDT +CONFIG_ESP_INT_WDT=y +CONFIG_ESP_INT_WDT_TIMEOUT_MS=2000 +CONFIG_ESP_TASK_WDT_EN=y +CONFIG_ESP_TASK_WDT_INIT=y +CONFIG_ESP_TASK_WDT_TIMEOUT_S=15 +