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
|
@ -4,9 +4,6 @@ APPS = slip-cmd
|
|||
|
||||
CONTIKI=../../..
|
||||
|
||||
UIP_CONF_IPV6=1
|
||||
CFLAGS+= -DUIP_CONF_IPV6_RPL -DUIP_CONF_IPV6 -DWITH_UIP6
|
||||
|
||||
#linker optimizations
|
||||
SMALL=1
|
||||
|
||||
|
@ -23,6 +20,7 @@ APPS += $(WITH_WEBSERVER)
|
|||
CFLAGS += -DWEBSERVER=2
|
||||
endif
|
||||
|
||||
CONTIKI_WITH_IPV6 = 1
|
||||
include $(CONTIKI)/Makefile.include
|
||||
|
||||
connect-router: border-router.native
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue