mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
18 lines
403 B
Makefile
18 lines
403 B
Makefile
ifneq (,$(filter vl6180x_irq_%,$(USEMODULE)))
|
|
USEMODULE += vl6180x_irq
|
|
endif
|
|
|
|
ifneq (,$(filter vl6180x,$(USEMODULE)))
|
|
FEATURES_REQUIRED += periph_i2c
|
|
USEMODULE += ztimer_msec
|
|
endif
|
|
|
|
ifneq (,$(filter vl6180x_shutdown,$(USEMODULE)))
|
|
FEATURES_REQUIRED += periph_gpio
|
|
endif
|
|
|
|
ifneq (,$(filter vl6180x_irq,$(USEMODULE)))
|
|
FEATURES_REQUIRED += periph_gpio
|
|
FEATURES_REQUIRED += periph_gpio_irq
|
|
endif
|