From 3ea428e8f87ac0175223292ffecf1b899249e392 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niccol=C3=B2=20Izzo?= Date: Thu, 11 Feb 2021 09:43:24 +0100 Subject: [PATCH] Add GPS task stack size in linux --- openrtx/include/threads.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/openrtx/include/threads.h b/openrtx/include/threads.h index ca01029a..ce4f203b 100644 --- a/openrtx/include/threads.h +++ b/openrtx/include/threads.h @@ -53,7 +53,7 @@ void create_threads(); /** * Stack size for GPS task, in bytes. */ -#define GPS_TASK_STKSIZE 4096 +#define GPS_TASK_STKSIZE 2048 #else /* __arm__ */ @@ -74,6 +74,11 @@ void create_threads(); */ #define RTX_TASK_STKSIZE 1024 +/** + * Stack size for GPS task, in bytes. + */ +#define GPS_TASK_STKSIZE 1024 + #endif /* __arm__ */ #endif /* THREADS_H */