2015-05-01 15:44:15 +02:00
|
|
|
APPLICATION = driver_isl29125
|
|
|
|
include ../Makefile.tests_common
|
|
|
|
|
|
|
|
FEATURES_REQUIRED = periph_i2c
|
|
|
|
|
|
|
|
USEMODULE += isl29125
|
2015-09-03 21:36:13 +02:00
|
|
|
USEMODULE += xtimer
|
2015-05-01 15:44:15 +02:00
|
|
|
|
2015-11-03 15:27:24 +01:00
|
|
|
# set default device parameters in case they are undefined
|
|
|
|
TEST_ISL29125_I2C ?= I2C_0
|
|
|
|
TEST_ISL29125_IRQ_PIN ?= GPIO_PIN\(0,0\)
|
|
|
|
|
|
|
|
# export parameters
|
|
|
|
CFLAGS += -DTEST_ISL29125_I2C=$(TEST_ISL29125_I2C)
|
|
|
|
CFLAGS += -DTEST_ISL29125_IRQ_PIN=$(TEST_ISL29125_IRQ_PIN)
|
2015-05-01 15:44:15 +02:00
|
|
|
|
|
|
|
include $(RIOTBASE)/Makefile.include
|