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 +