nes-proj/platform/sentilla-usb/Makefile.sentilla-usb

17 lines
574 B
Makefile

# Use custom platform configuration
CFLAGS += -DPLATFORM_CONF_H=\"platform-sentilla-usb-conf.h\"
# 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}