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 UIP_CONF_ICMP6 1
#define RIMESTATS_CONF_ENABLED 1
#define UIP_CONF_ND6_SEND_NA 1
#endif /* PROJECT_CONF_H_ */

View file

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

View file

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

View file

@ -2,4 +2,5 @@ all: udp-server udp-client
CONTIKI = ../..
CONTIKI_WITH_IPV6 = 1
CFLAGS += -DUIP_CONF_ND6_SEND_NA=1
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
#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
#undef UIP_CONF_BUFFER_SIZE