2016-03-14 16:03:36 +01:00
|
|
|
APPLICATION = driver_bmp180
|
|
|
|
include ../Makefile.tests_common
|
|
|
|
|
|
|
|
USEMODULE += bmp180
|
|
|
|
USEMODULE += xtimer
|
|
|
|
USEMODULE += printf_float
|
|
|
|
|
|
|
|
# set default device parameters in case they are undefined
|
2016-11-24 09:09:29 +01:00
|
|
|
TEST_I2C ?= I2C_DEV\(0\)
|
2016-03-14 16:03:36 +01:00
|
|
|
TEST_MEASURE_OVERSAMPLING ?= BMP180_ULTRALOWPOWER
|
|
|
|
TEST_ALTITUDE ?= 158 # altitude in Polytechnique School campus
|
|
|
|
|
|
|
|
# export parameters
|
|
|
|
CFLAGS += -DTEST_I2C=$(TEST_I2C)
|
|
|
|
CFLAGS += -DTEST_MEASURE_OVERSAMPLING=$(TEST_MEASURE_OVERSAMPLING)
|
|
|
|
CFLAGS += -DTEST_ALTITUDE=$(TEST_ALTITUDE)
|
|
|
|
|
|
|
|
include $(RIOTBASE)/Makefile.include
|