24 lines
633 B
Makefile
24 lines
633 B
Makefile
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
|
|
REST_RESOURCES_FILES += res-sensors.c res-ble-advd.c res-net.c
|
|
|
|
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
|
|
MODULES += os/net/app-layer/mqtt
|
|
MODULES += os/net/app-layer/coap
|
|
|
|
CONTIKI=../../../..
|
|
include $(CONTIKI)/Makefile.include
|