Makefile 325 Bytes
APPLICATION = driver_bmp180
include ../Makefile.tests_common

USEMODULE += bmp180
USEMODULE += xtimer
USEMODULE += printf_float

# set default altitude
TEST_ALTITUDE ?= 158 # altitude in Polytechnique School campus

# export altitude parameter
CFLAGS += -DTEST_ALTITUDE=$(TEST_ALTITUDE)

include $(RIOTBASE)/Makefile.include