mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-23 21:43:51 +01:00
changed default stacksize
* the default stacksize no longer set for a thread using printf * the stacksize for the main thread therefore adds the necessary space
This commit is contained in:
parent
4d2de87724
commit
3ad55cce8b
@ -60,7 +60,7 @@
|
||||
* @brief Size of the main task's stack in bytes
|
||||
*/
|
||||
#ifndef KERNEL_CONF_STACKSIZE_MAIN
|
||||
#define KERNEL_CONF_STACKSIZE_MAIN KERNEL_CONF_STACKSIZE_DEFAULT
|
||||
#define KERNEL_CONF_STACKSIZE_MAIN (KERNEL_CONF_STACKSIZE_DEFAULT + KERNEL_CONF_STACKSIZE_PRINTF)
|
||||
#endif
|
||||
|
||||
/** @} */
|
||||
|
||||
@ -56,7 +56,7 @@ License. See the file LICENSE in the top level directory for more details.
|
||||
#define KERNEL_CONF_STACKSIZE_PRINTF (4096)
|
||||
|
||||
#ifndef KERNEL_CONF_STACKSIZE_DEFAULT
|
||||
#define KERNEL_CONF_STACKSIZE_DEFAULT (KERNEL_CONF_STACKSIZE_PRINTF + 512)
|
||||
#define KERNEL_CONF_STACKSIZE_DEFAULT (512)
|
||||
#endif
|
||||
|
||||
#define KERNEL_CONF_STACKSIZE_IDLE (512)
|
||||
|
||||
@ -37,8 +37,10 @@
|
||||
* @name Kernel configuration
|
||||
* @{
|
||||
*/
|
||||
#define KERNEL_CONF_STACKSIZE_PRINTF (4096)
|
||||
|
||||
#ifndef KERNEL_CONF_STACKSIZE_DEFAULT
|
||||
#define KERNEL_CONF_STACKSIZE_DEFAULT 4500
|
||||
#define KERNEL_CONF_STACKSIZE_DEFAULT (512)
|
||||
#endif
|
||||
|
||||
#define KERNEL_CONF_STACKSIZE_IDLE 500
|
||||
|
||||
@ -27,7 +27,7 @@
|
||||
#define TRANSCEIVER_STACK_SIZE (163840)
|
||||
#define MINIMUM_STACK_SIZE (163840)
|
||||
#else
|
||||
#define KERNEL_CONF_STACKSIZE_DEFAULT (KERNEL_CONF_STACKSIZE_PRINTF + 8192)
|
||||
#define KERNEL_CONF_STACKSIZE_DEFAULT (8192)
|
||||
#define KERNEL_CONF_STACKSIZE_IDLE (16384)
|
||||
#define NATIVE_ISR_STACKSIZE (16384)
|
||||
/* undefine the TRANSCEIVER_STACK_SIZE (2048 or 512) defined in transceiver.h */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user