drivers: configure per driver dependency resolution
This commit is contained in:
parent
54d51bb098
commit
304bce3724
1
drivers/ad7746/Makefile.dep
Normal file
1
drivers/ad7746/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
2
drivers/adcxx1c/Makefile.dep
Normal file
2
drivers/adcxx1c/Makefile.dep
Normal file
@ -0,0 +1,2 @@
|
||||
FEATURES_REQUIRED += periph_gpio_irq
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
3
drivers/ads101x/Makefile.dep
Normal file
3
drivers/ads101x/Makefile.dep
Normal file
@ -0,0 +1,3 @@
|
||||
FEATURES_REQUIRED += periph_gpio_irq
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
USEMODULE += xtimer
|
||||
1
drivers/adt7310/Makefile.dep
Normal file
1
drivers/adt7310/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
FEATURES_REQUIRED += periph_spi
|
||||
1
drivers/adxl345/Makefile.dep
Normal file
1
drivers/adxl345/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
1
drivers/apa102/Makefile.dep
Normal file
1
drivers/apa102/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
5
drivers/apds99xx/Makefile.dep
Normal file
5
drivers/apds99xx/Makefile.dep
Normal file
@ -0,0 +1,5 @@
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
|
||||
ifneq (,$(filter apds99%full,$(USEMODULE)))
|
||||
FEATURES_REQUIRED += periph_gpio_irq
|
||||
endif
|
||||
12
drivers/at/Makefile.dep
Normal file
12
drivers/at/Makefile.dep
Normal file
@ -0,0 +1,12 @@
|
||||
FEATURES_REQUIRED += periph_uart
|
||||
USEMODULE += fmt
|
||||
USEMODULE += isrpipe
|
||||
USEMODULE += isrpipe_read_timeout
|
||||
|
||||
_AT_ISR_MODULE := $(filter at_urc_isr_%,$(USEMODULE))
|
||||
ifneq (,$(_AT_ISR_MODULE))
|
||||
# pull in the correspondant event_thread_<priority> module
|
||||
USEMODULE += $(_AT_ISR_MODULE:at_urc_isr_%=event_thread_%)
|
||||
USEMODULE += at_urc
|
||||
USEMODULE += at_urc_isr
|
||||
endif
|
||||
2
drivers/at24cxxx/Makefile.dep
Normal file
2
drivers/at24cxxx/Makefile.dep
Normal file
@ -0,0 +1,2 @@
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
USEMODULE += xtimer
|
||||
1
drivers/at24mac/Makefile.dep
Normal file
1
drivers/at24mac/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
USEMODULE += at24cxxx
|
||||
2
drivers/at25xxx/Makefile.dep
Normal file
2
drivers/at25xxx/Makefile.dep
Normal file
@ -0,0 +1,2 @@
|
||||
FEATURES_REQUIRED += periph_spi
|
||||
USEMODULE += xtimer
|
||||
2
drivers/at30tse75x/Makefile.dep
Normal file
2
drivers/at30tse75x/Makefile.dep
Normal file
@ -0,0 +1,2 @@
|
||||
USEMODULE += xtimer
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
22
drivers/at86rf215/Makefile.dep
Normal file
22
drivers/at86rf215/Makefile.dep
Normal file
@ -0,0 +1,22 @@
|
||||
DEFAULT_MODULE += auto_init_at86rf215
|
||||
DEFAULT_MODULE += at86rf215_subghz
|
||||
|
||||
DEFAULT_MODULE += netdev_ieee802154_multimode
|
||||
|
||||
DEFAULT_MODULE += netdev_ieee802154_oqpsk
|
||||
DEFAULT_MODULE += netdev_ieee802154_mr_oqpsk
|
||||
DEFAULT_MODULE += netdev_ieee802154_mr_ofdm
|
||||
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
FEATURES_REQUIRED += periph_gpio_irq
|
||||
FEATURES_REQUIRED += periph_spi
|
||||
|
||||
ifeq (,$(filter at86rf215m,$(USEMODULE)))
|
||||
DEFAULT_MODULE += at86rf215_24ghz
|
||||
endif
|
||||
|
||||
USEMODULE += xtimer
|
||||
USEMODULE += luid
|
||||
USEMODULE += netif
|
||||
USEMODULE += ieee802154
|
||||
USEMODULE += netdev_ieee802154
|
||||
15
drivers/at86rf2xx/Makefile.dep
Normal file
15
drivers/at86rf2xx/Makefile.dep
Normal file
@ -0,0 +1,15 @@
|
||||
DEFAULT_MODULE += auto_init_at86rf2xx
|
||||
DEFAULT_MODULE += netdev_ieee802154_oqpsk
|
||||
|
||||
USEMODULE += xtimer
|
||||
USEMODULE += luid
|
||||
USEMODULE += netif
|
||||
USEMODULE += ieee802154
|
||||
USEMODULE += netdev_ieee802154
|
||||
|
||||
# only needed for SPI based variants
|
||||
ifeq (,$(filter at86rfa1 at86rfr2,$(USEMODULE)))
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
FEATURES_REQUIRED += periph_gpio_irq
|
||||
FEATURES_REQUIRED += periph_spi
|
||||
endif
|
||||
5
drivers/ata8520e/Makefile.dep
Normal file
5
drivers/ata8520e/Makefile.dep
Normal file
@ -0,0 +1,5 @@
|
||||
USEMODULE += xtimer
|
||||
USEMODULE += fmt
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
FEATURES_REQUIRED += periph_gpio_irq
|
||||
FEATURES_REQUIRED += periph_spi
|
||||
7
drivers/atwinc15x0/Makefile.dep
Normal file
7
drivers/atwinc15x0/Makefile.dep
Normal file
@ -0,0 +1,7 @@
|
||||
USEMODULE += luid
|
||||
USEMODULE += netdev_eth
|
||||
USEMODULE += xtimer
|
||||
USEPKG += driver_atwinc15x0
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
FEATURES_REQUIRED += periph_gpio_irq
|
||||
FEATURES_REQUIRED += periph_spi
|
||||
2
drivers/bh1750fvi/Makefile.dep
Normal file
2
drivers/bh1750fvi/Makefile.dep
Normal file
@ -0,0 +1,2 @@
|
||||
USEMODULE += xtimer
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
1
drivers/bh1900nux/Makefile.dep
Normal file
1
drivers/bh1900nux/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
14
drivers/bme680/Makefile.dep
Normal file
14
drivers/bme680/Makefile.dep
Normal file
@ -0,0 +1,14 @@
|
||||
USEPKG += driver_bme680
|
||||
|
||||
ifneq (,$(filter saul%,$(USEMODULE)))
|
||||
USEMODULE += xtimer
|
||||
endif
|
||||
|
||||
ifneq (,$(filter bme680_i2c,$(USEMODULE)))
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
endif
|
||||
|
||||
ifneq (,$(filter bme680_spi,$(USEMODULE)))
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
FEATURES_REQUIRED += periph_spi
|
||||
endif
|
||||
2
drivers/bmp180/Makefile.dep
Normal file
2
drivers/bmp180/Makefile.dep
Normal file
@ -0,0 +1,2 @@
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
USEMODULE += xtimer
|
||||
1
drivers/bmx055/Makefile.dep
Normal file
1
drivers/bmx055/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
10
drivers/bmx280/Makefile.dep
Normal file
10
drivers/bmx280/Makefile.dep
Normal file
@ -0,0 +1,10 @@
|
||||
USEMODULE += xtimer
|
||||
|
||||
ifneq (,$(filter bm%280_spi,$(USEMODULE)))
|
||||
FEATURES_REQUIRED += periph_spi
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
endif
|
||||
|
||||
ifneq (,$(filter bm%280_i2c,$(USEMODULE)))
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
endif
|
||||
11
drivers/cc110x/Makefile.dep
Normal file
11
drivers/cc110x/Makefile.dep
Normal file
@ -0,0 +1,11 @@
|
||||
USEMODULE += cc1xxx_common
|
||||
USEMODULE += luid
|
||||
USEMODULE += netif
|
||||
USEMODULE += xtimer
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
FEATURES_REQUIRED += periph_gpio_irq
|
||||
FEATURES_REQUIRED += periph_spi
|
||||
|
||||
ifneq (,$(filter gnrc_ipv6,$(USEMODULE)))
|
||||
USEMODULE += gnrc_sixlowpan
|
||||
endif
|
||||
8
drivers/cc2420/Makefile.dep
Normal file
8
drivers/cc2420/Makefile.dep
Normal file
@ -0,0 +1,8 @@
|
||||
USEMODULE += xtimer
|
||||
USEMODULE += luid
|
||||
USEMODULE += netif
|
||||
USEMODULE += ieee802154
|
||||
USEMODULE += netdev_ieee802154
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
FEATURES_REQUIRED += periph_gpio_irq
|
||||
FEATURES_REQUIRED += periph_spi
|
||||
7
drivers/ccs811/Makefile.dep
Normal file
7
drivers/ccs811/Makefile.dep
Normal file
@ -0,0 +1,7 @@
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
USEMODULE += xtimer
|
||||
|
||||
ifneq (,$(filter ccs811_full,$(USEMODULE)))
|
||||
FEATURES_REQUIRED += periph_gpio_irq
|
||||
endif
|
||||
3
drivers/dcf77/Makefile.dep
Normal file
3
drivers/dcf77/Makefile.dep
Normal file
@ -0,0 +1,3 @@
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
FEATURES_REQUIRED += periph_gpio_irq
|
||||
USEMODULE += xtimer
|
||||
3
drivers/dfplayer/Makefile.dep
Normal file
3
drivers/dfplayer/Makefile.dep
Normal file
@ -0,0 +1,3 @@
|
||||
FEATURES_REQUIRED += periph_uart
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
USEMODULE += xtimer
|
||||
2
drivers/dht/Makefile.dep
Normal file
2
drivers/dht/Makefile.dep
Normal file
@ -0,0 +1,2 @@
|
||||
USEMODULE += xtimer
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
6
drivers/dose/Makefile.dep
Normal file
6
drivers/dose/Makefile.dep
Normal file
@ -0,0 +1,6 @@
|
||||
FEATURES_REQUIRED += periph_uart
|
||||
USEMODULE += iolist
|
||||
USEMODULE += netdev_eth
|
||||
USEMODULE += random
|
||||
USEMODULE += xtimer
|
||||
FEATURES_REQUIRED += periph_gpio_irq
|
||||
1
drivers/ds1307/Makefile.dep
Normal file
1
drivers/ds1307/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
2
drivers/ds18/Makefile.dep
Normal file
2
drivers/ds18/Makefile.dep
Normal file
@ -0,0 +1,2 @@
|
||||
USEMODULE += xtimer
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
1
drivers/ds3234/Makefile.dep
Normal file
1
drivers/ds3234/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
FEATURES_REQUIRED += periph_spi
|
||||
2
drivers/ds75lx/Makefile.dep
Normal file
2
drivers/ds75lx/Makefile.dep
Normal file
@ -0,0 +1,2 @@
|
||||
USEMODULE += xtimer
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
3
drivers/dsp0401/Makefile.dep
Normal file
3
drivers/dsp0401/Makefile.dep
Normal file
@ -0,0 +1,3 @@
|
||||
USEMODULE += xtimer
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
FEATURES_REQUIRED += periph_pwm
|
||||
1
drivers/dynamixel/Makefile.dep
Normal file
1
drivers/dynamixel/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
USEMODULE += uart_half_duplex
|
||||
1
drivers/edbg_eui/Makefile.dep
Normal file
1
drivers/edbg_eui/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
6
drivers/enc28j60/Makefile.dep
Normal file
6
drivers/enc28j60/Makefile.dep
Normal file
@ -0,0 +1,6 @@
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
FEATURES_REQUIRED += periph_gpio_irq
|
||||
FEATURES_REQUIRED += periph_spi
|
||||
USEMODULE += netdev_eth
|
||||
USEMODULE += xtimer
|
||||
USEMODULE += luid
|
||||
4
drivers/encx24j600/Makefile.dep
Normal file
4
drivers/encx24j600/Makefile.dep
Normal file
@ -0,0 +1,4 @@
|
||||
FEATURES_REQUIRED += periph_gpio_irq
|
||||
FEATURES_REQUIRED += periph_spi
|
||||
USEMODULE += netdev_eth
|
||||
USEMODULE += xtimer
|
||||
5
drivers/ethos/Makefile.dep
Normal file
5
drivers/ethos/Makefile.dep
Normal file
@ -0,0 +1,5 @@
|
||||
FEATURES_REQUIRED += periph_uart
|
||||
USEMODULE += iolist
|
||||
USEMODULE += netdev_eth
|
||||
USEMODULE += random
|
||||
USEMODULE += tsrb
|
||||
1
drivers/feetech/Makefile.dep
Normal file
1
drivers/feetech/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
USEMODULE += uart_half_duplex
|
||||
2
drivers/fxos8700/Makefile.dep
Normal file
2
drivers/fxos8700/Makefile.dep
Normal file
@ -0,0 +1,2 @@
|
||||
USEMODULE += xtimer
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
1
drivers/grove_ledbar/Makefile.dep
Normal file
1
drivers/grove_ledbar/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
USEMODULE += my9221
|
||||
2
drivers/hd44780/Makefile.dep
Normal file
2
drivers/hd44780/Makefile.dep
Normal file
@ -0,0 +1,2 @@
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
USEMODULE += xtimer
|
||||
2
drivers/hdc1000/Makefile.dep
Normal file
2
drivers/hdc1000/Makefile.dep
Normal file
@ -0,0 +1,2 @@
|
||||
USEMODULE += xtimer
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
2
drivers/hih6130/Makefile.dep
Normal file
2
drivers/hih6130/Makefile.dep
Normal file
@ -0,0 +1,2 @@
|
||||
USEMODULE += xtimer
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
5
drivers/hmc5883l/Makefile.dep
Normal file
5
drivers/hmc5883l/Makefile.dep
Normal file
@ -0,0 +1,5 @@
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
|
||||
ifneq (,$(filter hmc5883l_int,$(USEMODULE)))
|
||||
FEATURES_REQUIRED += periph_gpio_irq
|
||||
endif
|
||||
1
drivers/hts221/Makefile.dep
Normal file
1
drivers/hts221/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
3
drivers/ili9341/Makefile.dep
Normal file
3
drivers/ili9341/Makefile.dep
Normal file
@ -0,0 +1,3 @@
|
||||
FEATURES_REQUIRED += periph_spi
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
USEMODULE += xtimer
|
||||
1
drivers/ina2xx/Makefile.dep
Normal file
1
drivers/ina2xx/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
6
drivers/ina3221/Makefile.dep
Normal file
6
drivers/ina3221/Makefile.dep
Normal file
@ -0,0 +1,6 @@
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
|
||||
ifneq (,$(filter ina3221_alerts,$(USEMODULE)))
|
||||
USEMODULE += periph_gpio_irq
|
||||
endif
|
||||
4
drivers/io1_xplained/Makefile.dep
Normal file
4
drivers/io1_xplained/Makefile.dep
Normal file
@ -0,0 +1,4 @@
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
FEATURES_REQUIRED += periph_adc
|
||||
USEMODULE += at30tse75x
|
||||
USEMODULE += sdcard_spi
|
||||
1
drivers/isl29020/Makefile.dep
Normal file
1
drivers/isl29020/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
2
drivers/isl29125/Makefile.dep
Normal file
2
drivers/isl29125/Makefile.dep
Normal file
@ -0,0 +1,2 @@
|
||||
FEATURES_REQUIRED += periph_gpio_irq
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
6
drivers/itg320x/Makefile.dep
Normal file
6
drivers/itg320x/Makefile.dep
Normal file
@ -0,0 +1,6 @@
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
USEMODULE += xtimer
|
||||
|
||||
ifneq (,$(filter itg320x_int,$(USEMODULE)))
|
||||
FEATURES_REQUIRED += periph_gpio_irq
|
||||
endif
|
||||
1
drivers/jc42/Makefile.dep
Normal file
1
drivers/jc42/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
8
drivers/kw2xrf/Makefile.dep
Normal file
8
drivers/kw2xrf/Makefile.dep
Normal file
@ -0,0 +1,8 @@
|
||||
USEMODULE += luid
|
||||
USEMODULE += netif
|
||||
USEMODULE += ieee802154
|
||||
USEMODULE += netdev_ieee802154
|
||||
USEMODULE += core_thread_flags
|
||||
FEATURES_REQUIRED += periph_spi
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
FEATURES_REQUIRED += periph_gpio_irq
|
||||
7
drivers/kw41zrf/Makefile.dep
Normal file
7
drivers/kw41zrf/Makefile.dep
Normal file
@ -0,0 +1,7 @@
|
||||
USEMODULE += luid
|
||||
USEMODULE += netif
|
||||
USEMODULE += ieee802154
|
||||
USEMODULE += netdev_ieee802154
|
||||
USEMODULE += core_thread_flags
|
||||
USEMODULE += random
|
||||
USEMODULE += mcux_xcvr_mkw41z
|
||||
1
drivers/l3g4200d/Makefile.dep
Normal file
1
drivers/l3g4200d/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
2
drivers/lc709203f/Makefile.dep
Normal file
2
drivers/lc709203f/Makefile.dep
Normal file
@ -0,0 +1,2 @@
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
FEATURES_REQUIRED += periph_gpio_irq
|
||||
10
drivers/lis2dh12/Makefile.dep
Normal file
10
drivers/lis2dh12/Makefile.dep
Normal file
@ -0,0 +1,10 @@
|
||||
ifneq (,$(filter lis2dh12_spi,$(USEMODULE)))
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
FEATURES_REQUIRED += periph_spi
|
||||
else
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
endif
|
||||
|
||||
ifneq (,$(filter lis2dh12_int,$(USEMODULE)))
|
||||
FEATURES_REQUIRED += periph_gpio_irq
|
||||
endif
|
||||
2
drivers/lis3dh/Makefile.dep
Normal file
2
drivers/lis3dh/Makefile.dep
Normal file
@ -0,0 +1,2 @@
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
FEATURES_REQUIRED += periph_spi
|
||||
2
drivers/lis3mdl/Makefile.dep
Normal file
2
drivers/lis3mdl/Makefile.dep
Normal file
@ -0,0 +1,2 @@
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
USEMODULE += xtimer
|
||||
2
drivers/lpd8808/Makefile.dep
Normal file
2
drivers/lpd8808/Makefile.dep
Normal file
@ -0,0 +1,2 @@
|
||||
USEMODULE += color
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
1
drivers/lpsxxx/Makefile.dep
Normal file
1
drivers/lpsxxx/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
1
drivers/lsm303dlhc/Makefile.dep
Normal file
1
drivers/lsm303dlhc/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
2
drivers/lsm6dsl/Makefile.dep
Normal file
2
drivers/lsm6dsl/Makefile.dep
Normal file
@ -0,0 +1,2 @@
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
USEMODULE += xtimer
|
||||
3
drivers/ltc4150/Makefile.dep
Normal file
3
drivers/ltc4150/Makefile.dep
Normal file
@ -0,0 +1,3 @@
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
FEATURES_REQUIRED += periph_gpio_irq
|
||||
USEMODULE += xtimer
|
||||
1
drivers/mag3110/Makefile.dep
Normal file
1
drivers/mag3110/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
9
drivers/mhz19/Makefile.dep
Normal file
9
drivers/mhz19/Makefile.dep
Normal file
@ -0,0 +1,9 @@
|
||||
USEMODULE += xtimer
|
||||
|
||||
ifneq (,$(filter mhz19_pwm,$(USEMODULE)))
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
endif
|
||||
|
||||
ifneq (,$(filter mhz19_uart,$(USEMODULE)))
|
||||
FEATURES_REQUIRED += periph_uart
|
||||
endif
|
||||
1
drivers/mma7660/Makefile.dep
Normal file
1
drivers/mma7660/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
1
drivers/mma8x5x/Makefile.dep
Normal file
1
drivers/mma8x5x/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
1
drivers/motor_driver/Makefile.dep
Normal file
1
drivers/motor_driver/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
FEATURES_REQUIRED += periph_pwm
|
||||
1
drivers/mpl3115a2/Makefile.dep
Normal file
1
drivers/mpl3115a2/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
2
drivers/mpu9x50/Makefile.dep
Normal file
2
drivers/mpu9x50/Makefile.dep
Normal file
@ -0,0 +1,2 @@
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
USEMODULE += xtimer
|
||||
1
drivers/mq3/Makefile.dep
Normal file
1
drivers/mq3/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
FEATURES_REQUIRED += periph_adc
|
||||
19
drivers/mrf24j40/Makefile.dep
Normal file
19
drivers/mrf24j40/Makefile.dep
Normal file
@ -0,0 +1,19 @@
|
||||
USEMODULE += xtimer
|
||||
USEMODULE += luid
|
||||
USEMODULE += netif
|
||||
USEMODULE += ieee802154
|
||||
USEMODULE += netdev_ieee802154
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
FEATURES_REQUIRED += periph_gpio_irq
|
||||
FEATURES_REQUIRED += periph_spi
|
||||
|
||||
ifneq (,$(filter mrf24j40m%,$(USEMODULE)))
|
||||
DEFAULT_MODULE += netdev_ieee802154_oqpsk
|
||||
|
||||
ifndef CONFIG_KCONFIG_MODULE_MRF24J40
|
||||
# all modules but mrf24j40ma have an external PA
|
||||
ifeq (,$(filter mrf24j40ma,$(USEMODULE)))
|
||||
CFLAGS += -DCONFIG_MRF24J40_USE_EXT_PA_LNA
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
11
drivers/mtd/Makefile.dep
Normal file
11
drivers/mtd/Makefile.dep
Normal file
@ -0,0 +1,11 @@
|
||||
ifneq (,$(filter mtd_at24cxxx,$(USEMODULE)))
|
||||
USEMODULE += at24cxxx
|
||||
endif
|
||||
|
||||
ifneq (,$(filter mtd_at25xxx,$(USEMODULE)))
|
||||
USEMODULE += at25xxx
|
||||
endif
|
||||
|
||||
ifneq (,$(filter mtd_sdcard,$(USEMODULE)))
|
||||
USEMODULE += sdcard_spi
|
||||
endif
|
||||
2
drivers/mtd_flashpage/Makefile.dep
Normal file
2
drivers/mtd_flashpage/Makefile.dep
Normal file
@ -0,0 +1,2 @@
|
||||
FEATURES_REQUIRED += periph_flashpage
|
||||
FEATURES_REQUIRED += periph_flashpage_raw
|
||||
1
drivers/mtd_spi_nor/Makefile.dep
Normal file
1
drivers/mtd_spi_nor/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
FEATURES_REQUIRED += periph_spi
|
||||
2
drivers/my9221/Makefile.dep
Normal file
2
drivers/my9221/Makefile.dep
Normal file
@ -0,0 +1,2 @@
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
USEMODULE += xtimer
|
||||
2
drivers/ncv7356/Makefile.dep
Normal file
2
drivers/ncv7356/Makefile.dep
Normal file
@ -0,0 +1,2 @@
|
||||
USEMODULE += can_trx
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
4
drivers/nrf24l01p/Makefile.dep
Normal file
4
drivers/nrf24l01p/Makefile.dep
Normal file
@ -0,0 +1,4 @@
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
FEATURES_REQUIRED += periph_gpio_irq
|
||||
FEATURES_REQUIRED += periph_spi
|
||||
USEMODULE += xtimer
|
||||
3
drivers/nvram_spi/Makefile.dep
Normal file
3
drivers/nvram_spi/Makefile.dep
Normal file
@ -0,0 +1,3 @@
|
||||
FEATURES_REQUIRED += periph_spi
|
||||
USEMODULE += nvram
|
||||
USEMODULE += xtimer
|
||||
2
drivers/opt3001/Makefile.dep
Normal file
2
drivers/opt3001/Makefile.dep
Normal file
@ -0,0 +1,2 @@
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
USEMODULE += xtimer
|
||||
1
drivers/pca9633/Makefile.dep
Normal file
1
drivers/pca9633/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
6
drivers/pca9685/Makefile.dep
Normal file
6
drivers/pca9685/Makefile.dep
Normal file
@ -0,0 +1,6 @@
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
USEMODULE += xtimer
|
||||
|
||||
# efm32 CPU doesn't support PWM_RIGHT
|
||||
FEATURES_BLACKLIST += arch_efm32
|
||||
3
drivers/pcd8544/Makefile.dep
Normal file
3
drivers/pcd8544/Makefile.dep
Normal file
@ -0,0 +1,3 @@
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
FEATURES_REQUIRED += periph_spi
|
||||
USEMODULE += xtimer
|
||||
3
drivers/ph_oem/Makefile.dep
Normal file
3
drivers/ph_oem/Makefile.dep
Normal file
@ -0,0 +1,3 @@
|
||||
FEATURES_REQUIRED += periph_gpio_irq
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
USEMODULE += xtimer
|
||||
3
drivers/pir/Makefile.dep
Normal file
3
drivers/pir/Makefile.dep
Normal file
@ -0,0 +1,3 @@
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
FEATURES_REQUIRED += periph_gpio_irq
|
||||
USEMODULE += xtimer
|
||||
2
drivers/pn532/Makefile.dep
Normal file
2
drivers/pn532/Makefile.dep
Normal file
@ -0,0 +1,2 @@
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
FEATURES_REQUIRED += periph_gpio_irq
|
||||
2
drivers/pulse_counter/Makefile.dep
Normal file
2
drivers/pulse_counter/Makefile.dep
Normal file
@ -0,0 +1,2 @@
|
||||
USEMODULE += xtimer
|
||||
FEATURES_REQUIRED += periph_gpio_irq
|
||||
5
drivers/qmc5883l/Makefile.dep
Normal file
5
drivers/qmc5883l/Makefile.dep
Normal file
@ -0,0 +1,5 @@
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
|
||||
ifneq (,$(filter qmc5883l_int,$(USEMODULE)))
|
||||
FEATURES_REQUIRED += periph_gpio_irq
|
||||
endif
|
||||
1
drivers/rgbled/Makefile.dep
Normal file
1
drivers/rgbled/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
USEMODULE += color
|
||||
4
drivers/rn2xx3/Makefile.dep
Normal file
4
drivers/rn2xx3/Makefile.dep
Normal file
@ -0,0 +1,4 @@
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
FEATURES_REQUIRED += periph_uart
|
||||
USEMODULE += xtimer
|
||||
USEMODULE += fmt
|
||||
4
drivers/rtt_rtc/Makefile.dep
Normal file
4
drivers/rtt_rtc/Makefile.dep
Normal file
@ -0,0 +1,4 @@
|
||||
# Unit tests will use a mock implementation
|
||||
ifeq (,$(UNIT_TESTS))
|
||||
FEATURES_REQUIRED += periph_rtt
|
||||
endif
|
||||
5
drivers/sdcard_spi/Makefile.dep
Normal file
5
drivers/sdcard_spi/Makefile.dep
Normal file
@ -0,0 +1,5 @@
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
FEATURES_REQUIRED += periph_spi
|
||||
FEATURES_OPTIONAL += periph_spi_reconfigure
|
||||
USEMODULE += checksum
|
||||
USEMODULE += xtimer
|
||||
4
drivers/sdp3x/Makefile.dep
Normal file
4
drivers/sdp3x/Makefile.dep
Normal file
@ -0,0 +1,4 @@
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
FEATURES_REQUIRED += periph_gpio_irq
|
||||
USEMODULE += checksum
|
||||
USEMODULE += xtimer
|
||||
1
drivers/sds011/Makefile.dep
Normal file
1
drivers/sds011/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
FEATURES_REQUIRED += periph_uart
|
||||
1
drivers/servo/Makefile.dep
Normal file
1
drivers/servo/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
FEATURES_REQUIRED += periph_pwm
|
||||
2
drivers/sht1x/Makefile.dep
Normal file
2
drivers/sht1x/Makefile.dep
Normal file
@ -0,0 +1,2 @@
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
USEMODULE += xtimer
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user