mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 14:33:52 +01:00
Merge pull request #139 from OlegHahm/default_stacksize
Default stacksize
This commit is contained in:
commit
ec1d7b9bdf
@ -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 */
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
|
||||
/* Stack size for transceiver thread */
|
||||
#ifndef TRANSCEIVER_STACK_SIZE
|
||||
#define TRANSCEIVER_STACK_SIZE (512)
|
||||
#define TRANSCEIVER_STACK_SIZE (KERNEL_CONF_STACKSIZE_DEFAULT)
|
||||
#endif
|
||||
|
||||
#define PAYLOAD_SIZE (0)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user