Cleanup of the Contiki network layer configuration. Now using CONTIKI_WITH_IPV6, CONTIKI_WITH_IPV4, and CONTIKI_WITH_RIME in makefiles, and UIP_CONF_IPV6, UIP_CONF_IPV4, UIP_CONF_RIME in c code. Now only the stacks that are used are compiled (via makefile MODULES). Make IPv6 the default network stack.
This commit is contained in:
parent
d3d33c5699
commit
722b3258d1
161 changed files with 475 additions and 455 deletions
|
@ -34,15 +34,15 @@ all : $(CONTIKI_PROJECT)
|
|||
@if (test -n "$(ELF_SIZE)");then $(ELF_SIZE) $(CONTIKI_PROJECT).$(TARGET);fi
|
||||
endif
|
||||
|
||||
UIP_CONF_IPV6=1
|
||||
DEFINES=WITH_UIP6,UIP_CONF_TCP=1
|
||||
DEFINES=UIP_CONF_TCP=1
|
||||
|
||||
# Make no RPL the default for minimal-net builds
|
||||
ifeq ($(TARGET),minimal-net)
|
||||
ifndef UIP_CONF_RPL
|
||||
UIP_CONF_RPL=0
|
||||
ifndef CONTIKI_WITH_RPL
|
||||
CONTIKI_WITH_RPL = 0
|
||||
endif
|
||||
endif
|
||||
|
||||
CONTIKI = ../..
|
||||
CONTIKI_WITH_IPV6 = 1
|
||||
include $(CONTIKI)/Makefile.include
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue