Merge pull request #364 from OlegHahm/float_stack_sizes
added a dedicated stacksize for float printfs
This commit is contained in:
commit
fe575d52df
@ -53,7 +53,8 @@ See the file LICENSE in the top level directory for more details.
|
|||||||
* @name Kernel configuration
|
* @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
|
#ifndef KERNEL_CONF_STACKSIZE_DEFAULT
|
||||||
#define KERNEL_CONF_STACKSIZE_DEFAULT (512)
|
#define KERNEL_CONF_STACKSIZE_DEFAULT (512)
|
||||||
|
|||||||
@ -37,13 +37,14 @@
|
|||||||
* @name Kernel configuration
|
* @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
|
#ifndef KERNEL_CONF_STACKSIZE_DEFAULT
|
||||||
#define KERNEL_CONF_STACKSIZE_DEFAULT (512)
|
#define KERNEL_CONF_STACKSIZE_DEFAULT (512)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define KERNEL_CONF_STACKSIZE_IDLE 500
|
#define KERNEL_CONF_STACKSIZE_IDLE (160)
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -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 (256)
|
||||||
|
#define KERNEL_CONF_STACKSIZE_PRINTF_FLOAT (KERNEL_CONF_STACKSIZE_PRINTF)
|
||||||
|
|
||||||
#ifndef KERNEL_CONF_STACKSIZE_DEFAULT
|
#ifndef KERNEL_CONF_STACKSIZE_DEFAULT
|
||||||
#define KERNEL_CONF_STACKSIZE_DEFAULT (256)
|
#define KERNEL_CONF_STACKSIZE_DEFAULT (256)
|
||||||
|
|||||||
@ -18,9 +18,10 @@
|
|||||||
|
|
||||||
/* TODO: tighten stack sizes */
|
/* TODO: tighten stack sizes */
|
||||||
#ifdef __MACH__ /* OSX */
|
#ifdef __MACH__ /* OSX */
|
||||||
#define KERNEL_CONF_STACKSIZE_DEFAULT (163840)
|
#define KERNEL_CONF_STACKSIZE_DEFAULT (163840)
|
||||||
#define KERNEL_CONF_STACKSIZE_IDLE (163840)
|
#define KERNEL_CONF_STACKSIZE_IDLE (163840)
|
||||||
#define KERNEL_CONF_STACKSIZE_PRINTF (163840)
|
#define KERNEL_CONF_STACKSIZE_PRINTF (163840)
|
||||||
|
#define KERNEL_CONF_STACKSIZE_PRINTF_FLOAT (163840)
|
||||||
/* for core/include/thread.h */
|
/* for core/include/thread.h */
|
||||||
#define MINIMUM_STACK_SIZE (163840)
|
#define MINIMUM_STACK_SIZE (163840)
|
||||||
/* undefine the TRANSCEIVER_STACK_SIZE (2048 or 512) defined in transceiver.h */
|
/* undefine the TRANSCEIVER_STACK_SIZE (2048 or 512) defined in transceiver.h */
|
||||||
@ -33,9 +34,10 @@
|
|||||||
#define NATIVE_ISR_STACKSIZE (163840)
|
#define NATIVE_ISR_STACKSIZE (163840)
|
||||||
|
|
||||||
#else /* Linux etc. */
|
#else /* Linux etc. */
|
||||||
#define KERNEL_CONF_STACKSIZE_DEFAULT (8192)
|
#define KERNEL_CONF_STACKSIZE_DEFAULT (8192)
|
||||||
#define KERNEL_CONF_STACKSIZE_IDLE (8192)
|
#define KERNEL_CONF_STACKSIZE_IDLE (8192)
|
||||||
#define KERNEL_CONF_STACKSIZE_PRINTF (8192)
|
#define KERNEL_CONF_STACKSIZE_PRINTF (8192)
|
||||||
|
#define KERNEL_CONF_STACKSIZE_PRINTF_FLOAT (8192)
|
||||||
/* for core/include/thread.h */
|
/* for core/include/thread.h */
|
||||||
#define MINIMUM_STACK_SIZE (8192)
|
#define MINIMUM_STACK_SIZE (8192)
|
||||||
/* undefine the TRANSCEIVER_STACK_SIZE (2048 or 512) defined in transceiver.h */
|
/* undefine the TRANSCEIVER_STACK_SIZE (2048 or 512) defined in transceiver.h */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user