2018-07-25 13:04:11 +00:00
|
|
|
CONTIKI_PROJECT = web-demo
|
2018-07-26 09:56:27 +00:00
|
|
|
|
2018-07-26 10:08:04 +00:00
|
|
|
PLATFORMS_ONLY = simplelink
|
|
|
|
|
|
|
|
all: $(CONTIKI_PROJECT)
|
2018-07-25 13:04:11 +00:00
|
|
|
|
|
|
|
MODULES_REL += ./resources
|
|
|
|
|
2018-07-26 09:56:27 +00:00
|
|
|
PROJECT_SOURCEFILES += coap-server.c net-uart.c mqtt-client.c
|
2018-07-25 13:04:11 +00:00
|
|
|
PROJECT_SOURCEFILES += httpd-simple.c
|
|
|
|
|
|
|
|
ifeq ($(MAKE_ROUTING),MAKE_ROUTING_RPL_CLASSIC)
|
|
|
|
# 6lbr only supports RPL Classic
|
|
|
|
PROJECT_SOURCEFILES += cetic-6lbr-client.c
|
|
|
|
endif
|
|
|
|
|
|
|
|
# REST Engine shall use Erbium CoAP implementation
|
|
|
|
MODULES += os/net/app-layer/mqtt
|
|
|
|
MODULES += os/net/app-layer/coap
|
2018-07-26 09:56:27 +00:00
|
|
|
MODULES += arch/dev/ext-flash
|
2018-07-25 13:04:11 +00:00
|
|
|
|
2018-07-26 09:56:27 +00:00
|
|
|
CONTIKI = ../../../../..
|
2018-07-25 13:04:11 +00:00
|
|
|
include $(CONTIKI)/Makefile.include
|