From 0a02b060a8856212847ec8cf5d5b7e55b32ff862 Mon Sep 17 00:00:00 2001 From: Oleg Hahm Date: Thu, 19 Sep 2013 13:51:09 +0200 Subject: [PATCH] adjusted default stack sizes for msp430 * stack size for idle thread was too small * main stack gets initialized with KERNEL_CONF_STACKSIZE_DEFAULT + KERNEL_CONF_STACKSIZE_PRINTF, leading to a huge main thread stack --- cpu/msp430-common/include/cpu-conf.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cpu/msp430-common/include/cpu-conf.h b/cpu/msp430-common/include/cpu-conf.h index 888543bdc1..f042302aad 100644 --- a/cpu/msp430-common/include/cpu-conf.h +++ b/cpu/msp430-common/include/cpu-conf.h @@ -17,13 +17,13 @@ License. See the file LICENSE in the top level directory for more details. * @name Kernel configuration * @{ */ -#define KERNEL_CONF_STACKSIZE_PRINTF (512) +#define KERNEL_CONF_STACKSIZE_PRINTF (256) #ifndef KERNEL_CONF_STACKSIZE_DEFAULT -#define KERNEL_CONF_STACKSIZE_DEFAULT (KERNEL_CONF_STACKSIZE_PRINTF) +#define KERNEL_CONF_STACKSIZE_DEFAULT (256) #endif -#define KERNEL_CONF_STACKSIZE_IDLE 64 +#define KERNEL_CONF_STACKSIZE_IDLE 96 #define MSP430_ISR_STACK_SIZE 256 #define RX_BUF_SIZE (3)