2023-03-30 16:12:49 +02:00
|
|
|
include ../Makefile.drivers_common
|
2015-05-14 15:37:56 +02:00
|
|
|
|
|
|
|
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
|