2015-02-22 17:01:46 +01:00
|
|
|
er-coap_src = er-coap.c er-coap-engine.c er-coap-transactions.c \
|
|
|
|
er-coap-observe.c er-coap-separate.c er-coap-res-well-known-core.c \
|
|
|
|
er-coap-block1.c er-coap-observe-client.c
|
2013-12-18 20:26:20 +01:00
|
|
|
|
|
|
|
# Erbium will implement the REST Engine
|
|
|
|
CFLAGS += -DREST=coap_rest_implementation
|
2016-12-07 17:59:30 +01:00
|
|
|
|
2016-12-07 18:09:28 +01:00
|
|
|
ifeq ($(WITH_DTLS_COAP),1)
|
|
|
|
er-coap_src += er-coap-dtls.c
|
2016-12-14 11:51:49 +01:00
|
|
|
|
|
|
|
# Load tinydtls
|
|
|
|
APPS += tinydtls
|
|
|
|
$(CONTIKI)/apps/tinydtls/Makefile.tinydtls:
|
|
|
|
@echo " You should run 'git submodule update --init' to clone 'app/tinydtls'"
|
|
|
|
@exit 1
|
|
|
|
include $(CONTIKI)/apps/tinydtls/Makefile.tinydtls
|
|
|
|
PROJECTDIRS+=$(CONTIKI)/apps/tinydtls/aes $(CONTIKI)/apps/tinydtls/sha2 $(CONTIKI)/apps/tinydtls/ecc
|
|
|
|
|
2016-12-07 18:09:28 +01:00
|
|
|
else
|
2016-12-07 17:59:30 +01:00
|
|
|
er-coap_src += er-coap-udp.c
|
2016-12-07 18:09:28 +01:00
|
|
|
endif
|