From 08c4732fbae0bb7a867387cc784a4a1fdc5d0c80 Mon Sep 17 00:00:00 2001 From: Hauke Petersen Date: Thu, 4 Jun 2015 16:04:14 +0200 Subject: [PATCH] cpu/native: adjusted stacksizes The stacksizes for native were defined in a way, so that DEBUG did not work inside of interrupt routines. The new values should still be large enough but allow now for this. --- cpu/native/include/cpu_conf.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cpu/native/include/cpu_conf.h b/cpu/native/include/cpu_conf.h index a1a92aea74..e592784e53 100644 --- a/cpu/native/include/cpu_conf.h +++ b/cpu/native/include/cpu_conf.h @@ -30,8 +30,8 @@ extern "C" { #ifdef __MACH__ /* OSX */ #define THREAD_STACKSIZE_DEFAULT (163840) #define THREAD_STACKSIZE_IDLE (163840) -#define THREAD_EXTRA_STACKSIZE_PRINTF (163840) -#define THREAD_EXTRA_STACKSIZE_PRINTF_FLOAT (163840) +#define THREAD_EXTRA_STACKSIZE_PRINTF (81920) +#define THREAD_EXTRA_STACKSIZE_PRINTF_FLOAT (81920) /* for core/include/thread.h */ #define THREAD_STACKSIZE_MINIMUM (163840) /* undefine the TRANSCEIVER_STACK_SIZE (2048 or 512) defined in transceiver.h */ @@ -46,8 +46,8 @@ extern "C" { #else /* Linux etc. */ #define THREAD_STACKSIZE_DEFAULT (8192) #define THREAD_STACKSIZE_IDLE (8192) -#define THREAD_EXTRA_STACKSIZE_PRINTF (8192) -#define THREAD_EXTRA_STACKSIZE_PRINTF_FLOAT (8192) +#define THREAD_EXTRA_STACKSIZE_PRINTF (4096) +#define THREAD_EXTRA_STACKSIZE_PRINTF_FLOAT (4096) /* for core/include/thread.h */ #define THREAD_STACKSIZE_MINIMUM (8192) /* undefine the TRANSCEIVER_STACK_SIZE (2048 or 512) defined in transceiver.h */