2015-02-25 12:15:35 +00:00
|
|
|
DEFINES+=PROJECT_CONF_H=\"project-conf.h\"
|
|
|
|
|
|
|
|
all: cc26xx-web-demo
|
|
|
|
|
|
|
|
REST_RESOURCES_DIR = ./resources
|
|
|
|
|
|
|
|
REST_RESOURCES_FILES += res-leds.c res-toggle-leds.c res-device.c
|
2015-08-16 16:16:16 +00:00
|
|
|
REST_RESOURCES_FILES += res-sensors.c res-ble-advd.c res-net.c
|
2015-02-25 12:15:35 +00:00
|
|
|
|
|
|
|
PROJECTDIRS += $(REST_RESOURCES_DIR)
|
|
|
|
PROJECT_SOURCEFILES += $(REST_RESOURCES_FILES)
|
|
|
|
|
|
|
|
PROJECT_SOURCEFILES += cetic-6lbr-client.c coap-server.c net-uart.c mqtt-client.c
|
|
|
|
PROJECT_SOURCEFILES += httpd-simple.c
|
|
|
|
|
|
|
|
CONTIKI_WITH_IPV6 = 1
|
|
|
|
|
|
|
|
# REST Engine shall use Erbium CoAP implementation
|
|
|
|
APPS += er-coap
|
|
|
|
APPS += mqtt
|
|
|
|
|
2017-05-16 14:04:19 +00:00
|
|
|
CONTIKI=../../../..
|
2015-02-25 12:15:35 +00:00
|
|
|
include $(CONTIKI)/Makefile.include
|