Enable NA in examples that need it
This commit is contained in:
parent
259c473372
commit
1ac5d85042
|
@ -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_ */
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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_ */
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue