1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 14:33:52 +01:00

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
This commit is contained in:
Oleg Hahm 2013-09-19 13:51:09 +02:00
parent ceedb9b496
commit 0a02b060a8

View File

@ -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)