2015-05-14 15:37:56 +02:00
|
|
|
APPLICATION = driver_adt7310
|
|
|
|
include ../Makefile.tests_common
|
|
|
|
|
2016-03-20 14:36:15 +01:00
|
|
|
BOARD_INSUFFICIENT_MEMORY := arduino-mega2560 waspmote-pro
|
2016-03-09 18:34:01 +01:00
|
|
|
|
2015-05-14 15:37:56 +02:00
|
|
|
FEATURES_REQUIRED = periph_spi periph_gpio
|
|
|
|
|
|
|
|
USEMODULE += adt7310
|
2015-09-03 21:36:12 +02:00
|
|
|
USEMODULE += xtimer
|
2015-05-14 15:37:56 +02:00
|
|
|
|
2015-11-03 15:27:24 +01:00
|
|
|
# set default device parameters in case they are undefined
|
2016-11-08 18:38:02 +01:00
|
|
|
TEST_ADT7310_SPI ?= SPI_DEV\(0\)
|
2015-11-03 15:27:24 +01:00
|
|
|
TEST_ADT7310_CS ?= GPIO_PIN\(0,0\)
|
|
|
|
|
|
|
|
# export parameters
|
|
|
|
CFLAGS += -DTEST_ADT7310_SPI=$(TEST_ADT7310_SPI)
|
|
|
|
CFLAGS += -DTEST_ADT7310_CS=$(TEST_ADT7310_CS)
|
2015-05-14 15:37:56 +02:00
|
|
|
|
|
|
|
include $(RIOTBASE)/Makefile.include
|