Enable NA in examples that need it

This commit is contained in:
Simon Duquennoy 2015-05-10 19:51:16 +02:00
parent 259c473372
commit 1ac5d85042
6 changed files with 8 additions and 2 deletions

View File

@ -45,5 +45,6 @@
#define BUTTON_SENSOR_CONF_ON 1 #define BUTTON_SENSOR_CONF_ON 1
#define UIP_CONF_ICMP6 1 #define UIP_CONF_ICMP6 1
#define RIMESTATS_CONF_ENABLED 1 #define RIMESTATS_CONF_ENABLED 1
#define UIP_CONF_ND6_SEND_NA 1
#endif /* PROJECT_CONF_H_ */ #endif /* PROJECT_CONF_H_ */

View File

@ -4,4 +4,5 @@ all: $(CONTIKI_PROJECT)
CONTIKI = ../../.. CONTIKI = ../../..
CONTIKI_WITH_IPV6 = 1 CONTIKI_WITH_IPV6 = 1
CFLAGS += -DUIP_CONF_ND6_SEND_NA=1
include $(CONTIKI)/Makefile.include include $(CONTIKI)/Makefile.include

View File

@ -47,5 +47,6 @@
#define BUTTON_SENSOR_CONF_ON 1 #define BUTTON_SENSOR_CONF_ON 1
#define RIMESTATS_CONF_ENABLED 1 #define RIMESTATS_CONF_ENABLED 1
#define VIZTOOL_CONF_ON 0 #define VIZTOOL_CONF_ON 0
#define UIP_CONF_ND6_SEND_NA 1
#endif /* PROJECT_CONF_H_ */ #endif /* PROJECT_CONF_H_ */

View File

@ -2,4 +2,5 @@ all: udp-server udp-client
CONTIKI = ../.. CONTIKI = ../..
CONTIKI_WITH_IPV6 = 1 CONTIKI_WITH_IPV6 = 1
CFLAGS += -DUIP_CONF_ND6_SEND_NA=1
include $(CONTIKI)/Makefile.include include $(CONTIKI)/Makefile.include

View File

@ -1,4 +1,5 @@
#undef UIP_CONF_ND6_SEND_NA
#define UIP_CONF_ND6_SEND_NA 1
#ifdef BUFSIZE #ifdef BUFSIZE
#undef UIP_CONF_BUFFER_SIZE #undef UIP_CONF_BUFFER_SIZE

View File

@ -1,4 +1,5 @@
#undef UIP_CONF_ND6_SEND_NA
#define UIP_CONF_ND6_SEND_NA 1
#ifdef BUFSIZE #ifdef BUFSIZE
#undef UIP_CONF_BUFFER_SIZE #undef UIP_CONF_BUFFER_SIZE