1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #545 from OlegHahm/problematic_stack_sizes

replaced stack sizes in etx_beaconing by variables
This commit is contained in:
Oleg Hahm 2014-01-29 15:01:49 -08:00
commit 1bca52495e

View File

@ -16,13 +16,13 @@
#include "debug.h"
#if ENABLE_DEBUG
#define ETX_BEACON_STACKSIZE (4500)
#define ETX_RADIO_STACKSIZE (4500)
#define ETX_CLOCK_STACKSIZE (500)
#define ETX_BEACON_STACKSIZE (KERNEL_CONF_STACKSIZE_DEFAULT + KERNEL_CONF_STACKSIZE_PRINTF_FLOAT)
#define ETX_RADIO_STACKSIZE (KERNEL_CONF_STACKSIZE_DEFAULT + KERNEL_CONF_STACKSIZE_PRINTF_FLOAT)
#define ETX_CLOCK_STACKSIZE (KERNEL_CONF_STACKSIZE_DEFAULT)
#else
#define ETX_BEACON_STACKSIZE (2500) //TODO optimize, maybe 2000 is enough
#define ETX_RADIO_STACKSIZE (2500) //TODO optimize, maybe 2000 is enough
#define ETX_CLOCK_STACKSIZE (500) //TODO optimize, maybe 250 is enough
#define ETX_BEACON_STACKSIZE (KERNEL_CONF_STACKSIZE_MAIN)
#define ETX_RADIO_STACKSIZE (KERNEL_CONF_STACKSIZE_MAIN)
#define ETX_CLOCK_STACKSIZE (KERNEL_CONF_STACKSIZE_DEFAULT)
#endif
//[option|length|ipaddr.|packetcount] with up to 15 ipaddr|packetcount pairs