24 lines
558 B
Makefile
24 lines
558 B
Makefile
ifndef TARGET
|
|
TARGET=z1
|
|
endif
|
|
|
|
# Enable to pull-in Z1SP specific test/source files
|
|
ZOLERTIA_Z1SP=0
|
|
|
|
CONTIKI_PROJECT = test-phidgets blink test-adxl345 test-tmp102 test-light-ziglet
|
|
CONTIKI_PROJECT += test-battery test-relay-phidget test-tlc59116 test-sht25
|
|
|
|
CONTIKI_SOURCEFILES += reed-sensor.c sht25.c tlc59116.c light-ziglet.c \
|
|
relay-phidget.c
|
|
|
|
MODULES += dev/sht11
|
|
|
|
ifeq ($(ZOLERTIA_Z1SP),1)
|
|
CONTIKI_PROJECT += test-potent
|
|
endif
|
|
|
|
all: $(CONTIKI_PROJECT)
|
|
CONTIKI = ../../..
|
|
CONTIKI_WITH_RIME = 1
|
|
include $(CONTIKI)/Makefile.include
|