2014-12-03 10:18:50 +01:00
|
|
|
APPLICATION = driver_mpl3115a2
|
|
|
|
include ../Makefile.tests_common
|
|
|
|
|
|
|
|
FEATURES_REQUIRED = periph_i2c
|
|
|
|
|
|
|
|
USEMODULE += mpl3115a2
|
2015-09-03 21:36:13 +02:00
|
|
|
USEMODULE += xtimer
|
2014-12-03 10:18:50 +01:00
|
|
|
|
2015-11-03 15:27:25 +01:00
|
|
|
# set default device parameters in case they are undefined
|
2016-11-24 09:09:29 +01:00
|
|
|
TEST_MPL3115A2_I2C ?= I2C_DEV\(0\)
|
2015-11-03 15:27:25 +01:00
|
|
|
TEST_MPL3115A2_ADDR ?= 0x60
|
|
|
|
|
|
|
|
# export parameters
|
|
|
|
CFLAGS += -DTEST_MPL3115A2_I2C=$(TEST_MPL3115A2_I2C)
|
|
|
|
CFLAGS += -DTEST_MPL3115A2_ADDR=$(TEST_MPL3115A2_ADDR)
|
2014-12-03 10:18:50 +01:00
|
|
|
|
|
|
|
include $(RIOTBASE)/Makefile.include
|