drivers: restore alphabetical order in Makefile.dep
This commit is contained in:
parent
38ee38e791
commit
ce9808d8ec
@ -1,5 +1,11 @@
|
|||||||
# driver dependencies (in alphabetical order)
|
# driver dependencies (in alphabetical order)
|
||||||
|
|
||||||
|
ifneq (,$(filter adc%1c,$(USEMODULE)))
|
||||||
|
FEATURES_REQUIRED += periph_gpio
|
||||||
|
FEATURES_REQUIRED += periph_i2c
|
||||||
|
USEMODULE += adcxx1c
|
||||||
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter adxl345,$(USEMODULE)))
|
ifneq (,$(filter adxl345,$(USEMODULE)))
|
||||||
FEATURES_REQUIRED += periph_i2c
|
FEATURES_REQUIRED += periph_i2c
|
||||||
endif
|
endif
|
||||||
@ -24,16 +30,6 @@ ifneq (,$(filter at86rf2%,$(USEMODULE)))
|
|||||||
FEATURES_REQUIRED += periph_spi
|
FEATURES_REQUIRED += periph_spi
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter mrf24j40,$(USEMODULE)))
|
|
||||||
USEMODULE += xtimer
|
|
||||||
USEMODULE += luid
|
|
||||||
USEMODULE += netif
|
|
||||||
USEMODULE += ieee802154
|
|
||||||
USEMODULE += netdev_ieee802154
|
|
||||||
FEATURES_REQUIRED += periph_gpio
|
|
||||||
FEATURES_REQUIRED += periph_spi
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq (,$(filter bh1750fvi,$(USEMODULE)))
|
ifneq (,$(filter bh1750fvi,$(USEMODULE)))
|
||||||
USEMODULE += xtimer
|
USEMODULE += xtimer
|
||||||
FEATURES_REQUIRED += periph_i2c
|
FEATURES_REQUIRED += periph_i2c
|
||||||
@ -85,6 +81,10 @@ ifneq (,$(filter dsp0401,$(USEMODULE)))
|
|||||||
FEATURES_REQUIRED += periph_pwm
|
FEATURES_REQUIRED += periph_pwm
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq (,$(filter dynamixel,$(USEMODULE)))
|
||||||
|
USEMODULE += uart_half_duplex
|
||||||
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter enc28j60,$(USEMODULE)))
|
ifneq (,$(filter enc28j60,$(USEMODULE)))
|
||||||
USEMODULE += netdev_eth
|
USEMODULE += netdev_eth
|
||||||
USEMODULE += xtimer
|
USEMODULE += xtimer
|
||||||
@ -96,16 +96,25 @@ ifneq (,$(filter encx24j600,$(USEMODULE)))
|
|||||||
USEMODULE += xtimer
|
USEMODULE += xtimer
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter tmp006,$(USEMODULE)))
|
|
||||||
USEMODULE += xtimer
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq (,$(filter ethos,$(USEMODULE)))
|
ifneq (,$(filter ethos,$(USEMODULE)))
|
||||||
USEMODULE += netdev_eth
|
USEMODULE += netdev_eth
|
||||||
USEMODULE += random
|
USEMODULE += random
|
||||||
USEMODULE += tsrb
|
USEMODULE += tsrb
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq (,$(filter feetech,$(USEMODULE)))
|
||||||
|
USEMODULE += uart_half_duplex
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifneq (,$(filter grove_ledbar,$(USEMODULE)))
|
||||||
|
USEMODULE += my9221
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifneq (,$(filter hd44780,$(USEMODULE)))
|
||||||
|
FEATURES_REQUIRED += periph_gpio
|
||||||
|
USEMODULE += xtimer
|
||||||
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter hdc1000,$(USEMODULE)))
|
ifneq (,$(filter hdc1000,$(USEMODULE)))
|
||||||
USEMODULE += xtimer
|
USEMODULE += xtimer
|
||||||
FEATURES_REQUIRED += periph_i2c
|
FEATURES_REQUIRED += periph_i2c
|
||||||
@ -136,11 +145,6 @@ ifneq (,$(filter kw2xrf,$(USEMODULE)))
|
|||||||
FEATURES_REQUIRED += periph_spi
|
FEATURES_REQUIRED += periph_spi
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter hd44780,$(USEMODULE)))
|
|
||||||
FEATURES_REQUIRED += periph_gpio
|
|
||||||
USEMODULE += xtimer
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq (,$(filter l3g4200d,$(USEMODULE)))
|
ifneq (,$(filter l3g4200d,$(USEMODULE)))
|
||||||
FEATURES_REQUIRED += periph_i2c
|
FEATURES_REQUIRED += periph_i2c
|
||||||
endif
|
endif
|
||||||
@ -159,6 +163,11 @@ ifneq (,$(filter lpd8808,$(USEMODULE)))
|
|||||||
FEATURES_REQUIRED += periph_gpio
|
FEATURES_REQUIRED += periph_gpio
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq (,$(filter lsm6dsl,$(USEMODULE)))
|
||||||
|
FEATURES_REQUIRED += periph_i2c
|
||||||
|
USEMODULE += xtimer
|
||||||
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter mag3110,$(USEMODULE)))
|
ifneq (,$(filter mag3110,$(USEMODULE)))
|
||||||
FEATURES_REQUIRED += periph_i2c
|
FEATURES_REQUIRED += periph_i2c
|
||||||
endif
|
endif
|
||||||
@ -167,10 +176,6 @@ ifneq (,$(filter mma8x5x,$(USEMODULE)))
|
|||||||
FEATURES_REQUIRED += periph_i2c
|
FEATURES_REQUIRED += periph_i2c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter my9221,$(USEMODULE)))
|
|
||||||
FEATURES_REQUIRED += periph_gpio
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq (,$(filter mpl3115a2,$(USEMODULE)))
|
ifneq (,$(filter mpl3115a2,$(USEMODULE)))
|
||||||
FEATURES_REQUIRED += periph_i2c
|
FEATURES_REQUIRED += periph_i2c
|
||||||
endif
|
endif
|
||||||
@ -180,13 +185,24 @@ ifneq (,$(filter mpu9150,$(USEMODULE)))
|
|||||||
USEMODULE += xtimer
|
USEMODULE += xtimer
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq (,$(filter mrf24j40,$(USEMODULE)))
|
||||||
|
USEMODULE += xtimer
|
||||||
|
USEMODULE += luid
|
||||||
|
USEMODULE += netif
|
||||||
|
USEMODULE += ieee802154
|
||||||
|
USEMODULE += netdev_ieee802154
|
||||||
|
FEATURES_REQUIRED += periph_gpio
|
||||||
|
FEATURES_REQUIRED += periph_spi
|
||||||
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter mtd_sdcard,$(USEMODULE)))
|
ifneq (,$(filter mtd_sdcard,$(USEMODULE)))
|
||||||
USEMODULE += mtd
|
USEMODULE += mtd
|
||||||
USEMODULE += sdcard_spi
|
USEMODULE += sdcard_spi
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter grove_ledbar,$(USEMODULE)))
|
ifneq (,$(filter mtd_spi_nor,$(USEMODULE)))
|
||||||
USEMODULE += my9221
|
USEMODULE += mtd
|
||||||
|
FEATURES_REQUIRED += periph_spi
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter my9221,$(USEMODULE)))
|
ifneq (,$(filter my9221,$(USEMODULE)))
|
||||||
@ -219,11 +235,6 @@ ifneq (,$(filter sdcard_spi,$(USEMODULE)))
|
|||||||
USEMODULE += xtimer
|
USEMODULE += xtimer
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter soft_spi,$(USEMODULE)))
|
|
||||||
FEATURES_REQUIRED += periph_gpio
|
|
||||||
USEMODULE += xtimer
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq (,$(filter sht11,$(USEMODULE)))
|
ifneq (,$(filter sht11,$(USEMODULE)))
|
||||||
USEMODULE += xtimer
|
USEMODULE += xtimer
|
||||||
endif
|
endif
|
||||||
@ -234,6 +245,15 @@ ifneq (,$(filter si70%,$(USEMODULE)))
|
|||||||
USEMODULE += si70xx
|
USEMODULE += si70xx
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq (,$(filter slipdev,$(USEMODULE)))
|
||||||
|
FEATURES_REQUIRED += periph_uart
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifneq (,$(filter soft_spi,$(USEMODULE)))
|
||||||
|
FEATURES_REQUIRED += periph_gpio
|
||||||
|
USEMODULE += xtimer
|
||||||
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter srf02,$(USEMODULE)))
|
ifneq (,$(filter srf02,$(USEMODULE)))
|
||||||
USEMODULE += xtimer
|
USEMODULE += xtimer
|
||||||
endif
|
endif
|
||||||
@ -255,6 +275,13 @@ endif
|
|||||||
|
|
||||||
ifneq (,$(filter tmp006,$(USEMODULE)))
|
ifneq (,$(filter tmp006,$(USEMODULE)))
|
||||||
FEATURES_REQUIRED += periph_i2c
|
FEATURES_REQUIRED += periph_i2c
|
||||||
|
USEMODULE += xtimer
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifneq (,$(filter uart_half_duplex,$(USEMODULE)))
|
||||||
|
FEATURES_REQUIRED += periph_gpio
|
||||||
|
FEATURES_REQUIRED += periph_uart
|
||||||
|
USEMODULE += xtimer
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter veml6070,$(USEMODULE)))
|
ifneq (,$(filter veml6070,$(USEMODULE)))
|
||||||
@ -272,37 +299,3 @@ ifneq (,$(filter xbee,$(USEMODULE)))
|
|||||||
USEMODULE += xtimer
|
USEMODULE += xtimer
|
||||||
USEMODULE += netif
|
USEMODULE += netif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter uart_half_duplex,$(USEMODULE)))
|
|
||||||
FEATURES_REQUIRED += periph_gpio
|
|
||||||
FEATURES_REQUIRED += periph_uart
|
|
||||||
USEMODULE += xtimer
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq (,$(filter feetech,$(USEMODULE)))
|
|
||||||
USEMODULE += uart_half_duplex
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq (,$(filter dynamixel,$(USEMODULE)))
|
|
||||||
USEMODULE += uart_half_duplex
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq (,$(filter mtd_spi_nor,$(USEMODULE)))
|
|
||||||
USEMODULE += mtd
|
|
||||||
FEATURES_REQUIRED += periph_spi
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq (,$(filter lsm6dsl,$(USEMODULE)))
|
|
||||||
FEATURES_REQUIRED += periph_i2c
|
|
||||||
USEMODULE += xtimer
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq (,$(filter slipdev,$(USEMODULE)))
|
|
||||||
FEATURES_REQUIRED += periph_uart
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq (,$(filter adc%1c,$(USEMODULE)))
|
|
||||||
FEATURES_REQUIRED += periph_gpio
|
|
||||||
FEATURES_REQUIRED += periph_i2c
|
|
||||||
USEMODULE += adcxx1c
|
|
||||||
endif
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user