From d1a4b3b822572be65c9f5faaf8129b51e392c2ab Mon Sep 17 00:00:00 2001 From: Me No Dev Date: Wed, 2 Dec 2020 11:56:45 +0200 Subject: [PATCH] Add loop task stack size config to Kconfig Follow up for https://github.com/espressif/arduino-esp32/pull/4564 --- Kconfig.projbuild | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Kconfig.projbuild b/Kconfig.projbuild index 740f077c..8298cec1 100644 --- a/Kconfig.projbuild +++ b/Kconfig.projbuild @@ -40,6 +40,12 @@ config ARDUINO_RUNNING_CORE default 1 if ARDUINO_RUN_CORE1 default -1 if ARDUINO_RUN_NO_AFFINITY +config ARDUINO_LOOP_STACK_SIZE + int "Loop thread stack size" + default 8192 + help + Amount of stack available for the Arduino task. + choice ARDUINO_EVENT_RUNNING_CORE bool "Core on which Arduino's event handler is running" default ARDUINO_EVENT_RUN_CORE1