2015-05-01 15:44:15 +02:00
|
|
|
APPLICATION = driver_isl29125
|
|
|
|
include ../Makefile.tests_common
|
|
|
|
|
|
|
|
FEATURES_REQUIRED = periph_i2c
|
|
|
|
|
|
|
|
USEMODULE += isl29125
|
|
|
|
USEMODULE += vtimer
|
|
|
|
|
|
|
|
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
|
2015-06-12 19:10:16 +02:00
|
|
|
CFLAGS += -DTEST_ISL29125_IRQ_PIN=GPIO\(0,0\)
|
2015-05-01 15:44:15 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
include $(RIOTBASE)/Makefile.include
|