Fixed RPL configuration according to core changes.

This commit is contained in:
Matthias Kovatsch 2013-06-19 15:17:14 +02:00
parent c61dd6135e
commit bad066abad

View File

@ -11,20 +11,17 @@ WITH_COAP=13
WITH_UIP6=1 WITH_UIP6=1
# for some platforms # for some platforms
UIP_CONF_IPV6=1 UIP_CONF_IPV6=1
# temporary bugfix for Makefile.include / Makefile.uip
CFLAGS += -DUIP_CONF_IPV6=1
CONTIKI=../.. CONTIKI=../..
CFLAGS += -DPROJECT_CONF_H=\"project-conf.h\" CFLAGS += -DPROJECT_CONF_H=\"project-conf.h\"
# variable for Makefile.include # variable for Makefile.include
ifneq ($(TARGET), minimal-net) ifneq ($(TARGET), minimal-net)
UIP_CONF_RPL=1 CFLAGS += -DUIP_CONF_IPV6_RPL=1
else else
# minimal-net does not support RPL under Linux and is mostly used to test CoAP only # minimal-net does not support RPL under Linux and is mostly used to test CoAP only
${info INFO: compiling without RPL} ${info INFO: compiling without RPL}
UIP_CONF_RPL=0 CFLAGS += -DUIP_CONF_IPV6_RPL=0
CFLAGS += -DUIP_CONF_ND6_DEF_MAXDADNS=0
CFLAGS += -DHARD_CODED_ADDRESS=\"fdfd::10\" CFLAGS += -DHARD_CODED_ADDRESS=\"fdfd::10\"
${info INFO: compiling with large buffers} ${info INFO: compiling with large buffers}
CFLAGS += -DUIP_CONF_BUFFER_SIZE=2048 CFLAGS += -DUIP_CONF_BUFFER_SIZE=2048