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_lps331ap
include ../Makefile.tests_common
FEATURES_REQUIRED = periph_i2c
USEMODULE += lps331ap
USEMODULE += xtimer
# set default device parameters in case they are undefined
TEST_LPS331AP_I2C ?= I2C_DEV\(0\)
TEST_LPS331AP_ADDR ?= 92
# export parameters
CFLAGS += -DTEST_LPS331AP_I2C=$(TEST_LPS331AP_I2C)
CFLAGS += -DTEST_LPS331AP_ADDR=$(TEST_LPS331AP_ADDR)
include $(RIOTBASE)/Makefile.include
|