RPL non-storing: add compile-test to also check for warnings

This commit is contained in:
Simon Duquennoy 2016-04-25 14:55:18 +02:00
parent 1a7133bbf2
commit b32b3f6666
4 changed files with 13 additions and 0 deletions

View File

@ -21,6 +21,10 @@ PROJECT_SOURCEFILES += slip-bridge.c
#of the slip connection. Large MSS together with low baud rates without flow #of the slip connection. Large MSS together with low baud rates without flow
#control will overrun the transmit buffer when the style sheet is requested. #control will overrun the transmit buffer when the style sheet is requested.
ifeq ($(MAKE_WITH_NON_STORING),1)
CFLAGS += -DWITH_NON_STORING=1
endif
WITH_WEBSERVER=1 WITH_WEBSERVER=1
ifeq ($(WITH_WEBSERVER),1) ifeq ($(WITH_WEBSERVER),1)
CFLAGS += -DUIP_CONF_TCP=1 CFLAGS += -DUIP_CONF_TCP=1

View File

@ -5,6 +5,10 @@ PROJECT_SOURCEFILES += collect-common.c
CFLAGS += -DPROJECT_CONF_H=\"project-conf.h\" CFLAGS += -DPROJECT_CONF_H=\"project-conf.h\"
ifeq ($(MAKE_WITH_NON_STORING),1)
CFLAGS += -DWITH_NON_STORING=1
endif
ifdef PERIOD ifdef PERIOD
CFLAGS=-DPERIOD=$(PERIOD) CFLAGS=-DPERIOD=$(PERIOD)
endif endif

View File

@ -15,5 +15,9 @@ ifdef PERIOD
CFLAGS+=-DPERIOD=$(PERIOD) CFLAGS+=-DPERIOD=$(PERIOD)
endif endif
ifeq ($(MAKE_WITH_NON_STORING),1)
CFLAGS += -DWITH_NON_STORING=1
endif
CONTIKI_WITH_IPV6 = 1 CONTIKI_WITH_IPV6 = 1
include $(CONTIKI)/Makefile.include include $(CONTIKI)/Makefile.include

View File

@ -16,6 +16,7 @@ cc26xx/cc26xx-web-demo/srf06-cc26xx:BOARD=launchpad/cc1310 \
cc26xx/very-sleepy-demo/srf06-cc26xx \ cc26xx/very-sleepy-demo/srf06-cc26xx \
hello-world/cc2538dk \ hello-world/cc2538dk \
ipv6/rpl-border-router/cc2538dk \ ipv6/rpl-border-router/cc2538dk \
ipv6/rpl-border-router/cc2538dk:MAKE_WITH_NON_STORING=1 \
er-rest-example/cc2538dk \ er-rest-example/cc2538dk \
ipso-objects/cc2538dk \ ipso-objects/cc2538dk \
webserver-ipv6/cc2538dk \ webserver-ipv6/cc2538dk \