1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/driver_adt7310/Makefile

23 lines
501 B
Makefile
Raw Normal View History

2015-05-14 15:37:56 +02:00
APPLICATION = driver_adt7310
include ../Makefile.tests_common
FEATURES_REQUIRED = periph_spi periph_gpio
USEMODULE += adt7310
USEMODULE += xtimer
2015-05-14 15:37:56 +02:00
ifneq (,$(TEST_ADT7310_SPI))
CFLAGS += -DTEST_ADT7310_SPI=$(TEST_ADT7310_SPI)
else
# set arbitrary default
CFLAGS += -DTEST_ADT7310_SPI=SPI_0
endif
ifneq (,$(TEST_ADT7310_CS))
CFLAGS += -DTEST_ADT7310_CS=$(TEST_ADT7310_CS)
else
# set arbitrary default
CFLAGS += -DTEST_ADT7310_CS=GPIO_PIN\(0,0\)
2015-05-14 15:37:56 +02:00
endif
include $(RIOTBASE)/Makefile.include