Blame view

RIOT/tests/driver_bmp180/Makefile 550 Bytes
fb11e647   vrobic   reseau statique a...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
  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_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