1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/driver_isl29125/Makefile
2015-10-13 14:59:54 +02:00

23 lines
513 B
Makefile

APPLICATION = driver_isl29125
include ../Makefile.tests_common
FEATURES_REQUIRED = periph_i2c
USEMODULE += isl29125
USEMODULE += xtimer
ifneq (,$(TEST_ISL29125_I2C))
CFLAGS += -DTEST_ISL29125_I2C=$(TEST_ISL29125_I2C)
else
# set random default
CFLAGS += -DTEST_ISL29125_I2C=I2C_0
endif
ifneq (,$(TEST_ISL29125_IRQ_PIN))
CFLAGS += -DTEST_ISL29125_IRQ_PIN=$(TEST_ISL29125_IRQ_PIN)
else
# set random default
CFLAGS += -DTEST_ISL29125_IRQ_PIN=GPIO_PIN\(0,0\)
endif
include $(RIOTBASE)/Makefile.include