2015-07-02 12:09:16 +02:00
|
|
|
APPLICATION = driver_hih6130
|
|
|
|
include ../Makefile.tests_common
|
|
|
|
|
|
|
|
FEATURES_REQUIRED = periph_i2c
|
|
|
|
|
|
|
|
USEMODULE += hih6130
|
2015-08-14 00:53:19 +02:00
|
|
|
USEMODULE += xtimer
|
2015-07-02 12:09:16 +02:00
|
|
|
|
2015-11-03 15:27:24 +01:00
|
|
|
# set default device parameters in case they are undefined
|
2016-11-24 09:09:29 +01:00
|
|
|
TEST_HIH6130_I2C ?= I2C_DEV\(0\)
|
2015-11-03 15:27:24 +01:00
|
|
|
TEST_HIH6130_ADDR ?= 0x27
|
|
|
|
|
|
|
|
# export parameters
|
|
|
|
CFLAGS += -DTEST_HIH6130_I2C=$(TEST_HIH6130_I2C)
|
|
|
|
CFLAGS += -DTEST_HIH6130_ADDR=$(TEST_HIH6130_ADDR)
|
2015-07-02 12:09:16 +02:00
|
|
|
|
|
|
|
include $(RIOTBASE)/Makefile.include
|