From 0774fef8279ed5d8e96313a0315f008f8a808933 Mon Sep 17 00:00:00 2001 From: David Kopf Date: Mon, 25 Jul 2011 15:12:12 -0400 Subject: [PATCH] Add explicit RADIOSTATS to platform contiki-conf.h --- platform/avr-atmega128rfa1/contiki-conf.h | 3 +++ platform/avr-raven/contiki-conf.h | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/platform/avr-atmega128rfa1/contiki-conf.h b/platform/avr-atmega128rfa1/contiki-conf.h index 34c8cab5b..39b1eebf8 100644 --- a/platform/avr-atmega128rfa1/contiki-conf.h +++ b/platform/avr-atmega128rfa1/contiki-conf.h @@ -88,6 +88,9 @@ unsigned long clock_seconds(void); /* Starting address for code received via the codeprop facility. Not tested on Raven */ //#define EEPROMFS_ADDR_CODEPROP 0x8000 +/* RADIOSTATS is used in rf230bb, clock.c and the webserver cgi to report radio usage */ +#define RADIOSTATS 1 + /* Network setup. The new NETSTACK interface requires RF230BB (as does ip4) */ #if RF230BB #undef PACKETBUF_CONF_HDR_SIZE //Use the packetbuf default for header size diff --git a/platform/avr-raven/contiki-conf.h b/platform/avr-raven/contiki-conf.h index 0970093a7..fa7921879 100644 --- a/platform/avr-raven/contiki-conf.h +++ b/platform/avr-raven/contiki-conf.h @@ -88,6 +88,9 @@ unsigned long clock_seconds(void); /* Starting address for code received via the codeprop facility. Not tested on Raven */ //#define EEPROMFS_ADDR_CODEPROP 0x8000 +/* RADIOSTATS is used in rf230bb, clock.c and the webserver cgi to report radio usage */ +#define RADIOSTATS 1 + /* Network setup. The new NETSTACK interface requires RF230BB (as does ip4) */ #if RF230BB #undef PACKETBUF_CONF_HDR_SIZE //Use the packetbuf default for header size @@ -100,7 +103,7 @@ unsigned long clock_seconds(void); #define UIP_CONF_ICMP6 1 #define UIP_CONF_UDP 1 #define UIP_CONF_TCP 1 -#define UIP_CONF_IPV6_RPL 0 +#define UIP_CONF_IPV6_RPL 1 #define NETSTACK_CONF_NETWORK sicslowpan_driver #define SICSLOWPAN_CONF_COMPRESSION SICSLOWPAN_COMPRESSION_HC06 #else