Blame view

RIOT/tests/driver_tmp006/Makefile 515 Bytes
fb11e647   vrobic   reseau statique a...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
  APPLICATION = driver_tmp006
  include ../Makefile.tests_common
  
  FEATURES_REQUIRED = periph_i2c
  
  USEMODULE += tmp006
  USEMODULE += xtimer
  
  # set default device parameters in case they are undefined
  TEST_TMP006_I2C       ?= I2C_0
  TEST_TMP006_ADDR      ?= 0x41
  TEST_TMP006_CONFIG_CR ?= TMP006_CONFIG_CR_DEF
  
  # export parameters
  CFLAGS += -DTEST_TMP006_I2C=$(TEST_TMP006_I2C)
  CFLAGS += -DTEST_TMP006_ADDR=$(TEST_TMP006_ADDR)
  CFLAGS += -DTEST_TMP006_CONFIG_CR=$(TEST_TMP006_CONFIG_CR)
  
  include $(RIOTBASE)/Makefile.include