Merge pull request #364 from OlegHahm/float_stack_sizes

added a dedicated stacksize for float printfs
This commit is contained in:
Oleg Hahm
2014-01-09 10:48:38 -08:00
4 changed files with 14 additions and 9 deletions
+2 -1
View File
@@ -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)
+3 -2
View File
@@ -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)
/** @} */
/**
+1
View File
@@ -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)
+8 -6
View File
@@ -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 */