You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

18 lines
557 B

APPLICATION = driver_bmp180
include ../Makefile.tests_common
USEMODULE += bmp180
USEMODULE += xtimer
USEMODULE += printf_float
# set default device parameters in case they are undefined
TEST_I2C ?= I2C_DEV\(0\)
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