diff --git a/drivers/Makefile.dep b/drivers/Makefile.dep index 8e3cdb542bc71197a2d22b4c62bd711cb38d6dd8..cf30a716674026ed681a576917dd0c623736056b 100644 --- a/drivers/Makefile.dep +++ b/drivers/Makefile.dep @@ -234,6 +234,11 @@ ifneq (,$(filter lis3dh,$(USEMODULE))) FEATURES_REQUIRED += periph_spi endif +ifneq (,$(filter lis3mdl,$(USEMODULE))) + FEATURES_REQUIRED += periph_i2c + USEMODULE += xtimer +endif + ifneq (,$(filter lpd8808,$(USEMODULE))) USEMODULE += color FEATURES_REQUIRED += periph_gpio @@ -420,11 +425,21 @@ ifneq (,$(filter tcs37727,$(USEMODULE))) FEATURES_REQUIRED += periph_i2c endif +ifneq (,$(filter tja1042,$(USEMODULE))) + USEMODULE += can_trx + FEATURES_REQUIRED += periph_gpio +endif + ifneq (,$(filter tmp006,$(USEMODULE))) FEATURES_REQUIRED += periph_i2c USEMODULE += xtimer endif +ifneq (,$(filter tsl2561,$(USEMODULE))) + FEATURES_REQUIRED += periph_i2c + USEMODULE += xtimer +endif + ifneq (,$(filter uart_half_duplex,$(USEMODULE))) FEATURES_REQUIRED += periph_gpio FEATURES_REQUIRED += periph_uart @@ -449,18 +464,3 @@ ifneq (,$(filter xbee,$(USEMODULE))) USEMODULE += xtimer USEMODULE += netif endif - -ifneq (,$(filter lis3mdl,$(USEMODULE))) - FEATURES_REQUIRED += periph_i2c - USEMODULE += xtimer -endif - -ifneq (,$(filter tja1042,$(USEMODULE))) - USEMODULE += can_trx - FEATURES_REQUIRED += periph_gpio -endif - -ifneq (,$(filter tsl2561,$(USEMODULE))) - FEATURES_REQUIRED += periph_i2c - USEMODULE += xtimer -endif