From 4481976eadcd06a4385fa7689f1867fa5ecaac6c Mon Sep 17 00:00:00 2001 From: Junior Martinez <67972863+jmartinez-silabs@users.noreply.github.com> Date: Tue, 22 Aug 2023 19:04:52 -0400 Subject: [PATCH] [Silabs]Fix init task stack size on EFR32 (#28816) * Use 1k stack for main task * keep 917 at 8k for now --- examples/platform/silabs/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/platform/silabs/main.cpp b/examples/platform/silabs/main.cpp index fc4f0878195801..d1fda0e99149f3 100644 --- a/examples/platform/silabs/main.cpp +++ b/examples/platform/silabs/main.cpp @@ -41,7 +41,11 @@ /********************************************************** * Defines *********************************************************/ +#ifdef SIWX_917 #define MAIN_TASK_STACK_SIZE (1024 * 8) +#else +#define MAIN_TASK_STACK_SIZE (1024) +#endif #define MAIN_TASK_PRIORITY (configMAX_PRIORITIES - 1) using namespace ::chip;