2011-07-01 17:18:57 +02:00
|
|
|
# Use custom platform configuration
|
|
|
|
CFLAGS += -DPLATFORM_CONF_H=\"platform-sentilla-usb-conf.h\"
|
2010-08-25 21:57:33 +02:00
|
|
|
|
|
|
|
# Some drivers such as ds2411.c only compile under platform sky
|
|
|
|
CFLAGS += -DCONTIKI_TARGET_SKY
|
|
|
|
|
|
|
|
CONTIKI_TARGET_SOURCEFILES += contiki-sentilla-usb-platform.c \
|
|
|
|
battery-sensor.c radio-sensor.c temperature-sensor.c
|
|
|
|
|
|
|
|
include $(CONTIKI)/platform/sky/Makefile.common
|
|
|
|
|
|
|
|
ifneq ($(TMOTE_BSL), 1)
|
|
|
|
${warning No $(TMOTE_BSL_FILE) command for jcreate/sentilla-usb found. Please install this command in $(CONTIKI)/tools/sky}
|
|
|
|
endif
|
|
|
|
|
|
|
|
CONTIKI_TARGET_DIRS += ${addprefix ../sky/,. dev apps}
|