mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
23 lines
488 B
Makefile
23 lines
488 B
Makefile
APPLICATION = driver_hih6130
|
|
include ../Makefile.tests_common
|
|
|
|
FEATURES_REQUIRED = periph_i2c
|
|
|
|
USEMODULE += hih6130
|
|
USEMODULE += vtimer
|
|
|
|
ifneq (,$(TEST_HIH6130_I2C))
|
|
CFLAGS += -DTEST_HIH6130_I2C=$(TEST_HIH6130_I2C)
|
|
else
|
|
# set arbitrary default
|
|
CFLAGS += -DTEST_HIH6130_I2C=I2C_0
|
|
endif
|
|
ifneq (,$(TEST_HIH6130_ADDR))
|
|
CFLAGS += -DTEST_HIH6130_ADDR=$(TEST_HIH6130_ADDR)
|
|
else
|
|
# factory default address
|
|
CFLAGS += -DTEST_HIH6130_ADDR=0x27
|
|
endif
|
|
|
|
include $(RIOTBASE)/Makefile.include
|