Blame view

RIOT/tests/driver_si70xx/Makefile 403 Bytes
a752c7ab   elopes   add first test an...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
  APPLICATION = driver_si70xx
  include ../Makefile.tests_common
  
  USEMODULE += si70xx
  USEMODULE += xtimer
  
  # set default device parameters in case they are undefined
  TEST_I2C ?= 0
  TEST_I2C_ADDR ?= 0x80
  TEST_PIN_EN ?= GPIO_PIN\(0,0\)
  
  # export parameters
  CFLAGS += -DTEST_I2C=$(TEST_I2C)
  CFLAGS += -DTEST_I2C_ADDR=$(TEST_I2C_ADDR)
  CFLAGS += -DTEST_PIN_EN=$(TEST_PIN_EN)
  
  include $(RIOTBASE)/Makefile.include