diff --git a/platform/sky/contiki-conf.h b/platform/sky/contiki-conf.h index 04c595474..f2eb7c269 100644 --- a/platform/sky/contiki-conf.h +++ b/platform/sky/contiki-conf.h @@ -1,5 +1,5 @@ /* -*- C -*- */ -/* @(#)$Id: contiki-conf.h,v 1.84 2010/10/20 22:21:16 adamdunkels Exp $ */ +/* @(#)$Id: contiki-conf.h,v 1.85 2010/10/21 18:25:39 joxe Exp $ */ #ifndef CONTIKI_CONF_H #define CONTIKI_CONF_H @@ -34,13 +34,16 @@ #define CC2420_CONF_AUTOACK 1 #endif /* CC2420_CONF_AUTOACK */ + #if WITH_UIP6 /* Network setup for IPv6 */ #define NETSTACK_CONF_NETWORK sicslowpan_driver #define CXMAC_CONF_ANNOUNCEMENTS 0 #define XMAC_CONF_ANNOUNCEMENTS 0 +#ifndef QUEUEBUF_CONF_NUM #define QUEUEBUF_CONF_NUM 8 +#endif #else /* WITH_UIP6 */ @@ -121,7 +124,9 @@ #define UIP_CONF_ND6_MAX_NEIGHBORS 4 #define UIP_CONF_ND6_MAX_DEFROUTERS 2 #define UIP_CONF_IP_FORWARD 0 +#ifndef UIP_CONF_BUFFER_SIZE #define UIP_CONF_BUFFER_SIZE 240 +#endif #define SICSLOWPAN_CONF_COMPRESSION_IPV6 0 #define SICSLOWPAN_CONF_COMPRESSION_HC1 1 @@ -142,8 +147,12 @@ #define UIP_CONF_DHCP_LIGHT #define UIP_CONF_LLH_LEN 0 +#ifndef UIP_CONF_RECEIVE_WINDOW #define UIP_CONF_RECEIVE_WINDOW 48 +#endif +#ifndef UIP_CONF_TCP_MSS #define UIP_CONF_TCP_MSS 48 +#endif #define UIP_CONF_MAX_CONNECTIONS 4 #define UIP_CONF_MAX_LISTENPORTS 8 #define UIP_CONF_UDP_CONNS 12