diff --git a/cpu/lpc2387/include/cpu-conf.h b/cpu/lpc2387/include/cpu-conf.h index afe924cf37..c18eac3027 100644 --- a/cpu/lpc2387/include/cpu-conf.h +++ b/cpu/lpc2387/include/cpu-conf.h @@ -53,7 +53,8 @@ See the file LICENSE in the top level directory for more details. * @name Kernel configuration * @{ */ -#define KERNEL_CONF_STACKSIZE_PRINTF (4096) +#define KERNEL_CONF_STACKSIZE_PRINTF_FLOAT (4096) +#define KERNEL_CONF_STACKSIZE_PRINTF (2048) #ifndef KERNEL_CONF_STACKSIZE_DEFAULT #define KERNEL_CONF_STACKSIZE_DEFAULT (512) diff --git a/cpu/mc1322x/include/cpu-conf.h b/cpu/mc1322x/include/cpu-conf.h index 57121f114e..60ee83aae1 100644 --- a/cpu/mc1322x/include/cpu-conf.h +++ b/cpu/mc1322x/include/cpu-conf.h @@ -37,13 +37,14 @@ * @name Kernel configuration * @{ */ -#define KERNEL_CONF_STACKSIZE_PRINTF (4096) +#define KERNEL_CONF_STACKSIZE_PRINTF_FLOAT (4096) +#define KERNEL_CONF_STACKSIZE_PRINTF (2048) #ifndef KERNEL_CONF_STACKSIZE_DEFAULT #define KERNEL_CONF_STACKSIZE_DEFAULT (512) #endif -#define KERNEL_CONF_STACKSIZE_IDLE 500 +#define KERNEL_CONF_STACKSIZE_IDLE (160) /** @} */ /** diff --git a/cpu/msp430-common/include/cpu-conf.h b/cpu/msp430-common/include/cpu-conf.h index 4ffa783b63..64de02e7f2 100644 --- a/cpu/msp430-common/include/cpu-conf.h +++ b/cpu/msp430-common/include/cpu-conf.h @@ -18,6 +18,7 @@ See the file LICENSE in the top level directory for more details. * @{ */ #define KERNEL_CONF_STACKSIZE_PRINTF (256) +#define KERNEL_CONF_STACKSIZE_PRINTF_FLOAT (KERNEL_CONF_STACKSIZE_PRINTF) #ifndef KERNEL_CONF_STACKSIZE_DEFAULT #define KERNEL_CONF_STACKSIZE_DEFAULT (256) diff --git a/cpu/native/include/cpu-conf.h b/cpu/native/include/cpu-conf.h index edec5b5770..9e0122349b 100644 --- a/cpu/native/include/cpu-conf.h +++ b/cpu/native/include/cpu-conf.h @@ -18,9 +18,10 @@ /* TODO: tighten stack sizes */ #ifdef __MACH__ /* OSX */ -#define KERNEL_CONF_STACKSIZE_DEFAULT (163840) -#define KERNEL_CONF_STACKSIZE_IDLE (163840) -#define KERNEL_CONF_STACKSIZE_PRINTF (163840) +#define KERNEL_CONF_STACKSIZE_DEFAULT (163840) +#define KERNEL_CONF_STACKSIZE_IDLE (163840) +#define KERNEL_CONF_STACKSIZE_PRINTF (163840) +#define KERNEL_CONF_STACKSIZE_PRINTF_FLOAT (163840) /* for core/include/thread.h */ #define MINIMUM_STACK_SIZE (163840) /* undefine the TRANSCEIVER_STACK_SIZE (2048 or 512) defined in transceiver.h */ @@ -33,9 +34,10 @@ #define NATIVE_ISR_STACKSIZE (163840) #else /* Linux etc. */ -#define KERNEL_CONF_STACKSIZE_DEFAULT (8192) -#define KERNEL_CONF_STACKSIZE_IDLE (8192) -#define KERNEL_CONF_STACKSIZE_PRINTF (8192) +#define KERNEL_CONF_STACKSIZE_DEFAULT (8192) +#define KERNEL_CONF_STACKSIZE_IDLE (8192) +#define KERNEL_CONF_STACKSIZE_PRINTF (8192) +#define KERNEL_CONF_STACKSIZE_PRINTF_FLOAT (8192) /* for core/include/thread.h */ #define MINIMUM_STACK_SIZE (8192) /* undefine the TRANSCEIVER_STACK_SIZE (2048 or 512) defined in transceiver.h */