2016-11-14 13:40:59 +01:00
|
|
|
# If no BOARD is found in the environment, use this default:
|
|
|
|
BOARD ?= samr21-xpro
|
|
|
|
|
2015-05-01 15:44:15 +02:00
|
|
|
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
|
2016-11-24 09:09:29 +01:00
|
|
|
TEST_ISL29125_I2C ?= I2C_DEV\(0\)
|
2015-11-03 15:27:24 +01:00
|
|
|
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
|