mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
19 lines
557 B
Makefile
19 lines
557 B
Makefile
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
|