Blame view

RIOT/tests/driver_mpl3115a2/Makefile 424 Bytes
fb11e647   vrobic   reseau statique a...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
  APPLICATION = driver_mpl3115a2
  include ../Makefile.tests_common
  
  FEATURES_REQUIRED = periph_i2c
  
  USEMODULE += mpl3115a2
  USEMODULE += xtimer
  
  # set default device parameters in case they are undefined
  TEST_MPL3115A2_I2C  ?= I2C_0
  TEST_MPL3115A2_ADDR ?= 0x60
  
  # export parameters
  CFLAGS += -DTEST_MPL3115A2_I2C=$(TEST_MPL3115A2_I2C)
  CFLAGS += -DTEST_MPL3115A2_ADDR=$(TEST_MPL3115A2_ADDR)
  
  include $(RIOTBASE)/Makefile.include