Blame view

RIOT/tests/driver_l3g4200d/Makefile 607 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
20
21
  APPLICATION = driver_l3g4200d
  include ../Makefile.tests_common
  
  FEATURES_REQUIRED = periph_i2c periph_gpio
  
  USEMODULE += l3g4200d
  USEMODULE += xtimer
  
  # set default device parameters in case they are undefined
  TEST_L3G4200D_I2C  ?= I2C_0
  TEST_L3G4200D_ADDR ?= 104
  TEST_L3G4200D_INT  ?= GPIO_PIN\(0,0\)
  TEST_L3G4200D_DRDY ?= GPIO_PIN\(0,1\)
  
  # export parameters
  CFLAGS += -DTEST_L3G4200D_I2C=$(TEST_L3G4200D_I2C)
  CFLAGS += -DTEST_L3G4200D_ADDR=$(TEST_L3G4200D_ADDR)
  CFLAGS += -DTEST_L3G4200D_INT=$(TEST_L3G4200D_INT)
  CFLAGS += -DTEST_L3G4200D_DRDY=$(TEST_L3G4200D_DRDY)
  
  include $(RIOTBASE)/Makefile.include