2016-12-14 15:50:28 +00:00
|
|
|
all: test-panid-handling test-tcsh-create-packet
|
2016-10-31 15:18:02 +00:00
|
|
|
|
2016-12-14 15:50:28 +00:00
|
|
|
APPS += unit-test
|
|
|
|
MODULES += core/net/mac/tsch
|
|
|
|
CFLAGS += -D PROJECT_CONF_H=\"project-conf.h\"
|
|
|
|
|
|
|
|
WITH_TSCH ?= 0
|
|
|
|
TEST_CONFIG_TYPE ?= DEFAULT
|
|
|
|
|
|
|
|
CFLAGS += -D WITH_TSCH=1
|
|
|
|
|
|
|
|
ifeq ($(TEST_CONFIG_TYPE), SECURITY_ON)
|
|
|
|
CFLAGS += -D WITH_SECURITY_ON=1
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(TEST_CONFIG_TYPE), ALL_ENABLED)
|
|
|
|
CFLAGS += -D WITH_ALL_ENABLED=1
|
|
|
|
endif
|
2016-10-31 15:18:02 +00:00
|
|
|
|
|
|
|
CONTIKI = ../../..
|
|
|
|
CONTIKI_WITH_IPV6 = 1
|
|
|
|
include $(CONTIKI)/Makefile.include
|