1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/driver_si70xx/Makefile
Bas Stottelaar 9e50d09b60 drivers: si70xx: temperature and humidity sensor
This includes the Si7006, Si7013, Si7020 and Si7021 I2C sensors, including a
test application.
2016-02-23 07:32:40 +01:00

21 lines
455 B
Makefile

APPLICATION = driver_si70xx
include ../Makefile.tests_common
FEATURES_REQUIRED += periph_gpio
FEATURES_REQUIRED += periph_i2c
USEMODULE += si70xx
USEMODULE += xtimer
# set default device parameters in case they are undefined
TEST_I2C ?= 0
TEST_I2C_ADDR ?= 128
TEST_PIN_EN ?= 57
# 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