From 9b76c2fb17cdce4af5707b068324dc0779e5b8c9 Mon Sep 17 00:00:00 2001 From: Jim Paris Date: Tue, 29 Jul 2014 18:08:49 -0400 Subject: [PATCH] aducrf101: Adjust default buffer sizes to fit better in available RAM --- platform/ev-aducrf101mkxz/contiki-conf.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/platform/ev-aducrf101mkxz/contiki-conf.h b/platform/ev-aducrf101mkxz/contiki-conf.h index 98cc0084f..7cdc5ea7f 100644 --- a/platform/ev-aducrf101mkxz/contiki-conf.h +++ b/platform/ev-aducrf101mkxz/contiki-conf.h @@ -89,11 +89,11 @@ #define XMAC_CONF_COMPOWER 0 #define CXMAC_CONF_COMPOWER 0 -#define COLLECT_NBR_TABLE_CONF_MAX_NEIGHBORS 32 +#define COLLECT_NBR_TABLE_CONF_MAX_NEIGHBORS 16 #endif /* WITH_UIP6 */ -#define QUEUEBUF_CONF_NUM 16 +#define QUEUEBUF_CONF_NUM 4 #define PACKETBUF_CONF_ATTRS_INLINE 1 @@ -109,7 +109,7 @@ #define ENERGEST_CONF_ON 0 #define AODV_COMPLIANCE -#define AODV_NUM_RT_ENTRIES 32 +#define AODV_NUM_RT_ENTRIES 16 #define WITH_ASCII 1 @@ -131,8 +131,8 @@ #define UIP_CONF_IPV6_RPL 1 #endif -#define NBR_TABLE_CONF_MAX_NEIGHBORS 30 -#define UIP_CONF_MAX_ROUTES 30 +#define NBR_TABLE_CONF_MAX_NEIGHBORS 16 +#define UIP_CONF_MAX_ROUTES 16 #define UIP_CONF_ND6_SEND_RA 0 #define UIP_CONF_ND6_REACHABLE_TIME 600000 @@ -146,7 +146,7 @@ #define UIP_CONF_ND6_MAX_PREFIXES 3 #define UIP_CONF_ND6_MAX_DEFROUTERS 2 #define UIP_CONF_IP_FORWARD 0 -#define UIP_CONF_BUFFER_SIZE 140 +#define UIP_CONF_BUFFER_SIZE 240 #define SICSLOWPAN_CONF_FRAG 1 #define SICSLOWPAN_CONF_MAXAGE 8