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