1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/driver_lps331ap/Makefile
2014-10-30 20:24:51 +01:00

23 lines
488 B
Makefile

APPLICATION = driver_lps331ap
include ../Makefile.tests_common
FEATURES_REQUIRED = periph_i2c
USEMODULE += lps331ap
USEMODULE += vtimer
ifneq (,$(TEST_LPS331AP_I2C))
CFLAGS += -DTEST_LPS331AP_I2C=$(TEST_LPS331AP_I2C)
else
# set random default
CFLAGS += -DTEST_LPS331AP_I2C=I2C_0
endif
ifneq (,$(TEST_LPS331AP_ADDR))
CFLAGS += -DTEST_LPS331AP_ADDR=$(TEST_LPS331AP_ADDR)
else
# set random default
CFLAGS += -DTEST_LPS331AP_ADDR=92
endif
include $(RIOTBASE)/Makefile.include