mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
23 lines
497 B
Makefile
23 lines
497 B
Makefile
|
APPLICATION = driver_adt7310
|
||
|
include ../Makefile.tests_common
|
||
|
|
||
|
FEATURES_REQUIRED = periph_spi periph_gpio
|
||
|
|
||
|
USEMODULE += adt7310
|
||
|
USEMODULE += vtimer
|
||
|
|
||
|
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\(0,0\)
|
||
|
endif
|
||
|
|
||
|
include $(RIOTBASE)/Makefile.include
|