mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
23 lines
490 B
Makefile
23 lines
490 B
Makefile
APPLICATION = driver_tcs37727
|
|
include ../Makefile.tests_common
|
|
|
|
FEATURES_REQUIRED = periph_i2c
|
|
|
|
USEMODULE += tcs37727
|
|
USEMODULE += xtimer
|
|
|
|
ifneq (,$(TEST_TCS37727_I2C))
|
|
CFLAGS += -DTEST_TCS37727_I2C=$(TEST_TCS37727_I2C)
|
|
else
|
|
# set random default
|
|
CFLAGS += -DTEST_TCS37727_I2C=I2C_0
|
|
endif
|
|
ifneq (,$(TEST_TCS37727_ADDR))
|
|
CFLAGS += -DTEST_TCS37727_ADDR=$(TEST_TCS37727_ADDR)
|
|
else
|
|
# set random default
|
|
CFLAGS += -DTEST_TCS37727_ADDR=0x29
|
|
endif
|
|
|
|
include $(RIOTBASE)/Makefile.include
|