From cffa94d10464fbe77ed4b7c2fed19451e02219d4 Mon Sep 17 00:00:00 2001 From: devsaurus Date: Tue, 28 Mar 2017 10:39:13 +0200 Subject: [PATCH] Increase main task stack size to 6kB. --- .gitignore | 3 ++- sdkconfig.defaults | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 sdkconfig.defaults diff --git a/.gitignore b/.gitignore index d10c6738..49aa7bd2 100644 --- a/.gitignore +++ b/.gitignore @@ -2,7 +2,8 @@ sdk/ cache/ user_config.h server-ca.crt -sdkconfig* +sdkconfig +sdkconfig.old* build/ components/*/.output/ diff --git a/sdkconfig.defaults b/sdkconfig.defaults new file mode 100644 index 00000000..54ef61c3 --- /dev/null +++ b/sdkconfig.defaults @@ -0,0 +1,2 @@ +# Empirical value to prevent a firmware crash due to stack overflow. +CONFIG_MAIN_TASK_STACK_SIZE=6144