mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
15 lines
361 B
Makefile
15 lines
361 B
Makefile
include ../Makefile.drivers_common
|
|
|
|
USEMODULE += adt7310
|
|
USEMODULE += xtimer
|
|
|
|
# set default device parameters in case they are undefined
|
|
TEST_ADT7310_SPI ?= SPI_DEV\(0\)
|
|
TEST_ADT7310_CS ?= GPIO_PIN\(0,0\)
|
|
|
|
# export parameters
|
|
CFLAGS += -DTEST_ADT7310_SPI=$(TEST_ADT7310_SPI)
|
|
CFLAGS += -DTEST_ADT7310_CS=$(TEST_ADT7310_CS)
|
|
|
|
include $(RIOTBASE)/Makefile.include
|