2015-10-21 15:11:05 +02:00
|
|
|
# driver dependencies (in alphabetical order)
|
|
|
|
|
2019-02-15 13:31:18 +01:00
|
|
|
ifneq (,$(filter ad7746,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_i2c
|
|
|
|
endif
|
|
|
|
|
2017-12-05 12:50:52 +01:00
|
|
|
ifneq (,$(filter adc%1c,$(USEMODULE)))
|
2018-08-26 09:22:50 +02:00
|
|
|
FEATURES_REQUIRED += periph_gpio_irq
|
2017-12-05 12:50:52 +01:00
|
|
|
FEATURES_REQUIRED += periph_i2c
|
|
|
|
USEMODULE += adcxx1c
|
|
|
|
endif
|
|
|
|
|
2018-04-04 23:04:56 +02:00
|
|
|
ifneq (,$(filter ads101%,$(USEMODULE)))
|
2018-08-26 09:22:50 +02:00
|
|
|
FEATURES_REQUIRED += periph_gpio_irq
|
2018-04-04 23:04:56 +02:00
|
|
|
FEATURES_REQUIRED += periph_i2c
|
|
|
|
USEMODULE += ads101x
|
|
|
|
USEMODULE += xtimer
|
|
|
|
endif
|
|
|
|
|
2018-08-26 07:33:39 +02:00
|
|
|
ifneq (,$(filter adt7310,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_spi
|
|
|
|
endif
|
|
|
|
|
2017-03-20 22:52:21 +01:00
|
|
|
ifneq (,$(filter adxl345,$(USEMODULE)))
|
2017-09-06 13:59:07 +02:00
|
|
|
FEATURES_REQUIRED += periph_i2c
|
2017-03-20 22:52:21 +01:00
|
|
|
endif
|
|
|
|
|
2017-03-16 13:28:17 +01:00
|
|
|
ifneq (,$(filter apa102,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_gpio
|
|
|
|
endif
|
|
|
|
|
2016-12-13 14:34:13 +01:00
|
|
|
ifneq (,$(filter at,$(USEMODULE)))
|
2017-08-28 11:01:07 +02:00
|
|
|
FEATURES_REQUIRED += periph_uart
|
|
|
|
USEMODULE += fmt
|
|
|
|
USEMODULE += isrpipe
|
2019-03-23 20:43:27 +01:00
|
|
|
USEMODULE += isrpipe_read_timeout
|
2016-12-13 14:34:13 +01:00
|
|
|
endif
|
|
|
|
|
2020-01-14 14:37:28 +01:00
|
|
|
ifneq (,$(filter at24c%,$(USEMODULE)))
|
2019-11-19 17:14:57 +01:00
|
|
|
FEATURES_REQUIRED += periph_i2c
|
2020-01-14 14:37:28 +01:00
|
|
|
USEMODULE += xtimer
|
|
|
|
USEMODULE += at24cxxx
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter at24mac,$(USEMODULE)))
|
|
|
|
USEMODULE += at24cxxx
|
2019-11-19 17:14:57 +01:00
|
|
|
endif
|
|
|
|
|
2015-10-21 15:11:05 +02:00
|
|
|
ifneq (,$(filter at30tse75x,$(USEMODULE)))
|
|
|
|
USEMODULE += xtimer
|
2016-09-02 09:13:51 +02:00
|
|
|
FEATURES_REQUIRED += periph_i2c
|
2015-10-21 15:11:05 +02:00
|
|
|
endif
|
|
|
|
|
2019-10-21 01:07:44 +02:00
|
|
|
ifneq (,$(filter at86rf%,$(USEMODULE)))
|
2015-10-21 15:11:05 +02:00
|
|
|
USEMODULE += at86rf2xx
|
2020-01-16 09:18:39 +01:00
|
|
|
DEFAULT_MODULE += auto_init_at86rf2xx
|
2015-10-21 15:11:05 +02:00
|
|
|
USEMODULE += xtimer
|
2017-02-24 08:57:11 +01:00
|
|
|
USEMODULE += luid
|
2015-10-21 15:11:05 +02:00
|
|
|
USEMODULE += netif
|
2016-04-06 15:39:34 +02:00
|
|
|
USEMODULE += ieee802154
|
2017-02-15 13:07:34 +01:00
|
|
|
USEMODULE += netdev_ieee802154
|
2019-10-21 01:07:44 +02:00
|
|
|
|
|
|
|
# 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
|
2015-10-21 15:11:05 +02:00
|
|
|
endif
|
|
|
|
|
2017-05-21 19:37:06 +02:00
|
|
|
ifneq (,$(filter ata8520e,$(USEMODULE)))
|
|
|
|
USEMODULE += xtimer
|
|
|
|
USEMODULE += fmt
|
|
|
|
FEATURES_REQUIRED += periph_gpio
|
2018-08-26 09:22:50 +02:00
|
|
|
FEATURES_REQUIRED += periph_gpio_irq
|
2017-05-21 19:37:06 +02:00
|
|
|
FEATURES_REQUIRED += periph_spi
|
|
|
|
endif
|
|
|
|
|
2016-01-13 15:11:26 +01:00
|
|
|
ifneq (,$(filter bh1750fvi,$(USEMODULE)))
|
|
|
|
USEMODULE += xtimer
|
2016-04-13 16:47:00 +02:00
|
|
|
FEATURES_REQUIRED += periph_i2c
|
2016-01-13 15:11:26 +01:00
|
|
|
endif
|
|
|
|
|
2020-02-10 13:38:09 +01:00
|
|
|
ifneq (,$(filter bh1900nux,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_i2c
|
|
|
|
endif
|
|
|
|
|
2016-07-20 10:47:05 +02:00
|
|
|
ifneq (,$(filter bmp180,$(USEMODULE)))
|
2017-09-06 13:59:07 +02:00
|
|
|
FEATURES_REQUIRED += periph_i2c
|
|
|
|
USEMODULE += xtimer
|
2016-07-20 10:47:05 +02:00
|
|
|
endif
|
|
|
|
|
2018-01-10 15:03:29 +01:00
|
|
|
ifneq (,$(filter bm%280_spi,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_spi
|
|
|
|
FEATURES_REQUIRED += periph_gpio
|
|
|
|
USEMODULE += bmx280
|
2018-02-19 14:27:39 +01:00
|
|
|
endif
|
|
|
|
|
2018-01-10 15:03:29 +01:00
|
|
|
ifneq (,$(filter bm%280_i2c,$(USEMODULE)))
|
2017-09-06 13:59:07 +02:00
|
|
|
FEATURES_REQUIRED += periph_i2c
|
|
|
|
USEMODULE += bmx280
|
2016-10-14 08:32:41 +02:00
|
|
|
endif
|
|
|
|
|
2018-01-10 15:03:29 +01:00
|
|
|
ifneq (,$(filter bmx280,$(USEMODULE)))
|
|
|
|
USEMODULE += xtimer
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter bmx055,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_i2c
|
|
|
|
endif
|
|
|
|
|
drivers/cc110x: Rewrite of the cc110x driver
The cc110x driver has been re-written from scratch to overcome the limitations
of the old driver. The main motivation of the rewrite was to achieve better
maintainability by a detailed documentation, reduce the complexity and the
overhead of the SPI communication with the device, and to allow to
simultaneously use transceivers with different configuration regarding the used
base band, the channel bandwidth, the modulation rate, and the channel map.
Features of this driver include:
- Support for the CC1100, CC1101, and the CC1100e sub-gigahertz transceivers.
- Detailed documentation of every aspect of this driver.
- An easy to use configuration API that allows setting the transceiver
configuration (modulation rate, channel bandwidth, base frequency) and the
channel map.
- Fast channel hopping by pre-calibration of the channels during device
configuration (so that no calibration is needed during hopping).
- Simplified SPI communication: Only during start-up the MCU has to wait
for the transceiver to be ready (for the power regulators and the crystal
to stabilize). The old driver did this for every SPI transfer, which
resulted in complex communication code. This driver will wait on start up
for the transceiver to power up and then use RIOT's SPI API like every other
driver. (Not only the data sheet states that this is fine, it also proved to
be reliable in practise.)
- Greatly reduced latency: The RTT on the old driver (@150 kbps data rate) was
about 16ms, the new driver (@250 kbps data rate) has as RTT of ~3ms
(depending on SPI clock and on CPU performance) (measured with ping6).
- Increased reliability: The preamble size and the sync word size have been
doubled compared to the old driver (preamble: 8 bytes instead of 4,
sync word: 4 byte instead of 2). The new values are the once recommended by
the data sheet for reliable communication.
- Basic diagnostic during driver initialization to detect common issues as
SPI communication issues and GDO pin configuration/wiring issues.
- TX power configuration with netdev_driver_t::set() API-integration
- Calls to netdev_driver_t::send() block until the transmission has completed
to ease the use of the API (implemented without busy waiting, so that the
MCU can enter lower power states or other threads can be executed).
2018-11-08 17:37:07 +01:00
|
|
|
ifneq (,$(filter cc110%,$(USEMODULE)))
|
|
|
|
USEMODULE += cc110x
|
|
|
|
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
|
|
|
|
endif
|
|
|
|
|
2016-04-14 13:48:00 +02:00
|
|
|
ifneq (,$(filter cc2420,$(USEMODULE)))
|
|
|
|
USEMODULE += xtimer
|
2017-02-24 08:57:11 +01:00
|
|
|
USEMODULE += luid
|
2016-04-14 13:48:00 +02:00
|
|
|
USEMODULE += netif
|
|
|
|
USEMODULE += ieee802154
|
2017-02-15 13:07:34 +01:00
|
|
|
USEMODULE += netdev_ieee802154
|
2016-04-14 13:48:00 +02:00
|
|
|
FEATURES_REQUIRED += periph_gpio
|
2018-08-26 09:22:50 +02:00
|
|
|
FEATURES_REQUIRED += periph_gpio_irq
|
2016-04-14 13:48:00 +02:00
|
|
|
FEATURES_REQUIRED += periph_spi
|
|
|
|
endif
|
|
|
|
|
2018-09-28 23:48:47 +02:00
|
|
|
ifneq (,$(filter ccs811_full,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_gpio_irq
|
|
|
|
USEMODULE += ccs811
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter ccs811,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_gpio
|
|
|
|
FEATURES_REQUIRED += periph_i2c
|
|
|
|
USEMODULE += xtimer
|
|
|
|
endif
|
|
|
|
|
2019-12-11 15:31:58 +01:00
|
|
|
ifneq (,$(filter dcf77,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_gpio
|
|
|
|
FEATURES_REQUIRED += periph_gpio_irq
|
|
|
|
USEMODULE += xtimer
|
|
|
|
endif
|
|
|
|
|
2015-10-21 15:11:05 +02:00
|
|
|
ifneq (,$(filter dht,$(USEMODULE)))
|
2017-09-06 13:59:07 +02:00
|
|
|
USEMODULE += xtimer
|
|
|
|
FEATURES_REQUIRED += periph_gpio
|
2015-11-01 16:41:27 +01:00
|
|
|
endif
|
|
|
|
|
2017-07-04 13:28:02 +02:00
|
|
|
ifneq (,$(filter ds1307,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_i2c
|
|
|
|
endif
|
|
|
|
|
2019-12-11 15:31:58 +01:00
|
|
|
ifneq (,$(filter ds18,$(USEMODULE)))
|
|
|
|
USEMODULE += xtimer
|
|
|
|
FEATURES_REQUIRED += periph_gpio
|
|
|
|
endif
|
|
|
|
|
2018-08-23 22:58:39 +02:00
|
|
|
ifneq (,$(filter ds3234,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_spi
|
|
|
|
endif
|
|
|
|
|
2019-05-09 16:12:02 +02:00
|
|
|
ifneq (,$(filter ds75lx,$(USEMODULE)))
|
|
|
|
USEMODULE += xtimer
|
|
|
|
FEATURES_REQUIRED += periph_i2c
|
|
|
|
endif
|
|
|
|
|
2017-05-23 14:01:43 +02:00
|
|
|
ifneq (,$(filter dsp0401,$(USEMODULE)))
|
2017-09-06 13:59:07 +02:00
|
|
|
USEMODULE += xtimer
|
|
|
|
FEATURES_REQUIRED += periph_gpio
|
|
|
|
FEATURES_REQUIRED += periph_pwm
|
2017-05-23 14:01:43 +02:00
|
|
|
endif
|
|
|
|
|
2017-12-05 12:50:52 +01:00
|
|
|
ifneq (,$(filter dynamixel,$(USEMODULE)))
|
|
|
|
USEMODULE += uart_half_duplex
|
|
|
|
endif
|
|
|
|
|
2015-11-01 16:41:27 +01:00
|
|
|
ifneq (,$(filter enc28j60,$(USEMODULE)))
|
2018-01-24 15:24:05 +01:00
|
|
|
FEATURES_REQUIRED += periph_gpio
|
2018-08-26 09:22:50 +02:00
|
|
|
FEATURES_REQUIRED += periph_gpio_irq
|
2018-01-24 15:24:05 +01:00
|
|
|
FEATURES_REQUIRED += periph_spi
|
2017-02-15 13:07:34 +01:00
|
|
|
USEMODULE += netdev_eth
|
2015-11-01 16:41:27 +01:00
|
|
|
USEMODULE += xtimer
|
2017-02-24 08:57:11 +01:00
|
|
|
USEMODULE += luid
|
2015-10-21 15:11:05 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter encx24j600,$(USEMODULE)))
|
2018-08-26 09:22:50 +02:00
|
|
|
FEATURES_REQUIRED += periph_gpio_irq
|
2018-01-20 13:23:16 +01:00
|
|
|
FEATURES_REQUIRED += periph_spi
|
2017-02-15 13:07:34 +01:00
|
|
|
USEMODULE += netdev_eth
|
2015-10-21 15:11:05 +02:00
|
|
|
USEMODULE += xtimer
|
|
|
|
endif
|
|
|
|
|
2016-04-06 15:39:34 +02:00
|
|
|
ifneq (,$(filter ethos,$(USEMODULE)))
|
2018-03-20 18:15:33 +01:00
|
|
|
FEATURES_REQUIRED += periph_uart
|
2018-01-12 00:19:03 +01:00
|
|
|
USEMODULE += iolist
|
2017-09-06 13:59:07 +02:00
|
|
|
USEMODULE += netdev_eth
|
|
|
|
USEMODULE += random
|
|
|
|
USEMODULE += tsrb
|
2016-04-06 15:39:34 +02:00
|
|
|
endif
|
|
|
|
|
2019-01-06 15:08:23 +01:00
|
|
|
ifneq (,$(filter dose,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_uart
|
|
|
|
USEMODULE += iolist
|
|
|
|
USEMODULE += netdev_eth
|
|
|
|
USEMODULE += random
|
|
|
|
USEMODULE += xtimer
|
|
|
|
FEATURES_REQUIRED += periph_gpio_irq
|
|
|
|
endif
|
|
|
|
|
2017-12-05 12:50:52 +01:00
|
|
|
ifneq (,$(filter feetech,$(USEMODULE)))
|
|
|
|
USEMODULE += uart_half_duplex
|
|
|
|
endif
|
|
|
|
|
2018-04-18 23:44:50 +02:00
|
|
|
ifneq (,$(filter fxos8700,$(USEMODULE)))
|
|
|
|
USEMODULE += xtimer
|
|
|
|
FEATURES_REQUIRED += periph_i2c
|
|
|
|
endif
|
|
|
|
|
2017-12-05 12:50:52 +01:00
|
|
|
ifneq (,$(filter grove_ledbar,$(USEMODULE)))
|
|
|
|
USEMODULE += my9221
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter hd44780,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_gpio
|
|
|
|
USEMODULE += xtimer
|
|
|
|
endif
|
|
|
|
|
2016-01-15 17:44:02 +01:00
|
|
|
ifneq (,$(filter hdc1000,$(USEMODULE)))
|
|
|
|
USEMODULE += xtimer
|
2017-10-28 21:09:36 +02:00
|
|
|
FEATURES_REQUIRED += periph_i2c
|
2016-01-15 17:44:02 +01:00
|
|
|
endif
|
|
|
|
|
2015-10-21 15:11:05 +02:00
|
|
|
ifneq (,$(filter hih6130,$(USEMODULE)))
|
|
|
|
USEMODULE += xtimer
|
2018-08-26 07:37:16 +02:00
|
|
|
FEATURES_REQUIRED += periph_i2c
|
2015-10-21 15:11:05 +02:00
|
|
|
endif
|
|
|
|
|
2017-11-16 20:15:38 +01:00
|
|
|
ifneq (,$(filter hts221,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_i2c
|
|
|
|
endif
|
|
|
|
|
2018-09-17 10:26:31 +02:00
|
|
|
ifneq (,$(filter ili9341,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_spi
|
|
|
|
FEATURES_REQUIRED += periph_gpio
|
2020-02-11 19:41:44 +01:00
|
|
|
USEMODULE += xtimer
|
2018-09-17 10:26:31 +02:00
|
|
|
endif
|
|
|
|
|
2019-04-01 16:50:28 +02:00
|
|
|
ifneq (,$(filter ina2%,$(USEMODULE)))
|
|
|
|
USEMODULE += ina2xx
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter ina2xx,$(USEMODULE)))
|
2018-08-26 07:38:11 +02:00
|
|
|
FEATURES_REQUIRED += periph_i2c
|
|
|
|
endif
|
|
|
|
|
2019-11-05 12:29:42 +01:00
|
|
|
ifneq (,$(filter ina3221,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_gpio
|
|
|
|
FEATURES_REQUIRED += periph_i2c
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter ina3221_alerts,$(USEMODULE)))
|
|
|
|
USEMODULE += ina3221
|
|
|
|
USEMODULE += periph_gpio_irq
|
|
|
|
endif
|
|
|
|
|
2016-09-02 09:13:51 +02:00
|
|
|
ifneq (,$(filter io1_xplained,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_gpio
|
2018-04-17 10:10:25 +02:00
|
|
|
FEATURES_REQUIRED += periph_adc
|
2016-09-02 09:13:51 +02:00
|
|
|
USEMODULE += at30tse75x
|
2018-04-16 17:36:27 +02:00
|
|
|
USEMODULE += sdcard_spi
|
2016-09-02 09:13:51 +02:00
|
|
|
endif
|
|
|
|
|
2018-08-26 07:39:12 +02:00
|
|
|
ifneq (,$(filter isl29020,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_i2c
|
|
|
|
endif
|
|
|
|
|
2018-08-26 07:39:55 +02:00
|
|
|
ifneq (,$(filter isl29125,$(USEMODULE)))
|
2018-08-26 09:22:50 +02:00
|
|
|
FEATURES_REQUIRED += periph_gpio_irq
|
2018-08-26 07:39:55 +02:00
|
|
|
FEATURES_REQUIRED += periph_i2c
|
|
|
|
endif
|
|
|
|
|
2018-10-09 16:55:15 +02:00
|
|
|
ifneq (,$(filter itg320x_int,$(USEMODULE)))
|
|
|
|
USEMODULE += itg320x
|
|
|
|
FEATURES_REQUIRED += periph_gpio_irq
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter itg320x,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_i2c
|
2020-01-11 18:10:09 +01:00
|
|
|
USEMODULE += xtimer
|
2018-10-09 16:55:15 +02:00
|
|
|
endif
|
|
|
|
|
2017-01-13 20:25:25 +01:00
|
|
|
ifneq (,$(filter jc42,$(USEMODULE)))
|
2017-09-06 13:59:07 +02:00
|
|
|
FEATURES_REQUIRED += periph_i2c
|
2017-01-13 20:25:25 +01:00
|
|
|
endif
|
|
|
|
|
2015-10-21 15:11:05 +02:00
|
|
|
ifneq (,$(filter kw2xrf,$(USEMODULE)))
|
2017-09-06 13:59:07 +02:00
|
|
|
USEMODULE += luid
|
|
|
|
USEMODULE += netif
|
|
|
|
USEMODULE += ieee802154
|
|
|
|
USEMODULE += netdev_ieee802154
|
2017-12-20 13:54:32 +01:00
|
|
|
USEMODULE += core_thread_flags
|
2017-10-28 21:09:36 +02:00
|
|
|
FEATURES_REQUIRED += periph_spi
|
2018-08-26 07:41:25 +02:00
|
|
|
FEATURES_REQUIRED += periph_gpio
|
2018-08-26 09:22:50 +02:00
|
|
|
FEATURES_REQUIRED += periph_gpio_irq
|
2015-10-21 15:11:05 +02:00
|
|
|
endif
|
|
|
|
|
2017-10-28 21:09:36 +02:00
|
|
|
ifneq (,$(filter l3g4200d,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_i2c
|
|
|
|
endif
|
|
|
|
|
2018-08-26 07:43:15 +02:00
|
|
|
ifneq (,$(filter lc709203f,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_i2c
|
2018-08-26 09:22:50 +02:00
|
|
|
FEATURES_REQUIRED += periph_gpio_irq
|
2018-08-26 07:43:15 +02:00
|
|
|
endif
|
|
|
|
|
2020-02-25 15:37:34 +01:00
|
|
|
ifneq (,$(filter lis2dh12_int,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_gpio_irq
|
|
|
|
endif
|
|
|
|
|
2018-01-12 23:24:43 +01:00
|
|
|
ifneq (,$(filter lis2dh12%,$(USEMODULE)))
|
2020-02-25 15:37:34 +01:00
|
|
|
USEMODULE += lis2dh12
|
2018-01-12 23:24:43 +01:00
|
|
|
ifneq (,$(filter lis2dh12_spi,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_gpio
|
|
|
|
FEATURES_REQUIRED += periph_spi
|
|
|
|
else
|
|
|
|
FEATURES_REQUIRED += periph_i2c
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2017-01-25 14:53:10 +01:00
|
|
|
ifneq (,$(filter lis3dh,$(USEMODULE)))
|
2017-09-06 13:59:07 +02:00
|
|
|
FEATURES_REQUIRED += periph_gpio
|
|
|
|
FEATURES_REQUIRED += periph_spi
|
2017-01-25 14:53:10 +01:00
|
|
|
endif
|
|
|
|
|
2018-09-18 20:40:33 +02:00
|
|
|
ifneq (,$(filter lis3mdl,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_i2c
|
|
|
|
USEMODULE += xtimer
|
|
|
|
endif
|
|
|
|
|
2016-08-04 22:05:17 +02:00
|
|
|
ifneq (,$(filter lpd8808,$(USEMODULE)))
|
2017-09-06 13:59:07 +02:00
|
|
|
USEMODULE += color
|
|
|
|
FEATURES_REQUIRED += periph_gpio
|
2016-08-04 22:05:17 +02:00
|
|
|
endif
|
|
|
|
|
2019-01-02 16:59:53 +01:00
|
|
|
ifneq (,$(filter lps331ap lps2%hb,$(USEMODULE)))
|
2018-12-30 12:19:56 +01:00
|
|
|
USEMODULE += lpsxxx
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter lpsxxx,$(USEMODULE)))
|
2018-08-26 07:47:27 +02:00
|
|
|
FEATURES_REQUIRED += periph_i2c
|
|
|
|
endif
|
|
|
|
|
2018-08-26 07:49:50 +02:00
|
|
|
ifneq (,$(filter lsm303dlhc,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_i2c
|
|
|
|
endif
|
|
|
|
|
2017-12-05 12:50:52 +01:00
|
|
|
ifneq (,$(filter lsm6dsl,$(USEMODULE)))
|
2017-10-28 21:09:36 +02:00
|
|
|
FEATURES_REQUIRED += periph_i2c
|
2017-12-05 12:50:52 +01:00
|
|
|
USEMODULE += xtimer
|
2017-10-28 21:09:36 +02:00
|
|
|
endif
|
|
|
|
|
2018-12-30 00:24:34 +01:00
|
|
|
ifneq (,$(filter ltc4150_bidirectional,$(USEMODULE)))
|
|
|
|
USEMODULE += ltc4150
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter ltc4150,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_gpio
|
|
|
|
FEATURES_REQUIRED += periph_gpio_irq
|
|
|
|
USEMODULE += xtimer
|
|
|
|
endif
|
|
|
|
|
2017-12-05 12:50:52 +01:00
|
|
|
ifneq (,$(filter mag3110,$(USEMODULE)))
|
2017-10-28 21:09:36 +02:00
|
|
|
FEATURES_REQUIRED += periph_i2c
|
|
|
|
endif
|
|
|
|
|
2016-03-05 20:16:18 +01:00
|
|
|
ifneq (,$(filter mma7660,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_i2c
|
|
|
|
endif
|
|
|
|
|
2017-12-05 12:50:52 +01:00
|
|
|
ifneq (,$(filter mma8x5x,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_i2c
|
2017-10-28 21:09:36 +02:00
|
|
|
endif
|
|
|
|
|
2018-04-05 15:51:43 +02:00
|
|
|
ifneq (,$(filter motor_driver,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_pwm
|
|
|
|
endif
|
|
|
|
|
2017-10-28 21:09:36 +02:00
|
|
|
ifneq (,$(filter mpl3115a2,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_i2c
|
|
|
|
endif
|
|
|
|
|
2019-08-23 13:06:13 +02:00
|
|
|
ifneq (,$(filter mpu9%50,$(USEMODULE)))
|
2017-11-07 22:55:56 +01:00
|
|
|
FEATURES_REQUIRED += periph_i2c
|
2017-09-06 13:59:07 +02:00
|
|
|
USEMODULE += xtimer
|
2019-08-23 13:06:13 +02:00
|
|
|
USEMODULE += mpu9x50
|
2015-10-21 15:11:05 +02:00
|
|
|
endif
|
|
|
|
|
2018-08-26 07:49:59 +02:00
|
|
|
ifneq (,$(filter mq3,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_adc
|
|
|
|
endif
|
|
|
|
|
2019-09-28 19:30:52 +02:00
|
|
|
ifneq (,$(filter mrf24j40m%,$(USEMODULE)))
|
|
|
|
USEMODULE += mrf24j40
|
|
|
|
|
|
|
|
# all modules but mrf24j40ma have an external PA
|
|
|
|
ifeq (,$(filter mrf24j40ma,$(USEMODULE)))
|
|
|
|
CFLAGS += -DMRF24J40_USE_EXT_PA_LNA
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2017-12-05 12:50:52 +01:00
|
|
|
ifneq (,$(filter mrf24j40,$(USEMODULE)))
|
|
|
|
USEMODULE += xtimer
|
|
|
|
USEMODULE += luid
|
|
|
|
USEMODULE += netif
|
|
|
|
USEMODULE += ieee802154
|
|
|
|
USEMODULE += netdev_ieee802154
|
|
|
|
FEATURES_REQUIRED += periph_gpio
|
2018-08-26 09:22:50 +02:00
|
|
|
FEATURES_REQUIRED += periph_gpio_irq
|
2017-12-05 12:50:52 +01:00
|
|
|
FEATURES_REQUIRED += periph_spi
|
|
|
|
endif
|
|
|
|
|
2018-03-13 14:11:12 +01:00
|
|
|
ifneq (,$(filter mtd_%,$(USEMODULE)))
|
2017-09-06 13:59:07 +02:00
|
|
|
USEMODULE += mtd
|
2017-06-12 22:31:04 +02:00
|
|
|
|
2018-03-13 14:11:12 +01:00
|
|
|
ifneq (,$(filter mtd_sdcard,$(USEMODULE)))
|
|
|
|
USEMODULE += sdcard_spi
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter mtd_spi_nor,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_spi
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter mtd_flashpage,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_flashpage
|
|
|
|
FEATURES_REQUIRED += periph_flashpage_raw
|
|
|
|
endif
|
2017-06-12 22:31:04 +02:00
|
|
|
endif
|
2017-06-12 22:28:55 +02:00
|
|
|
|
|
|
|
ifneq (,$(filter my9221,$(USEMODULE)))
|
2017-09-06 13:59:07 +02:00
|
|
|
FEATURES_REQUIRED += periph_gpio
|
|
|
|
USEMODULE += xtimer
|
2017-08-09 11:30:41 +02:00
|
|
|
endif
|
|
|
|
|
2016-12-15 11:58:01 +01:00
|
|
|
ifneq (,$(filter nvc7356,$(USEMODULE)))
|
|
|
|
USEMODULE += can_trx
|
|
|
|
FEATURES_REQUIRED += periph_gpio
|
|
|
|
endif
|
|
|
|
|
2016-11-11 11:11:41 +01:00
|
|
|
ifneq (,$(filter nrfmin,$(USEMODULE)))
|
2017-09-06 13:59:07 +02:00
|
|
|
FEATURES_REQUIRED += radio_nrfmin
|
|
|
|
FEATURES_REQUIRED += periph_cpuid
|
|
|
|
USEMODULE += netif
|
2016-11-11 11:11:41 +01:00
|
|
|
endif
|
|
|
|
|
2018-08-26 07:53:34 +02:00
|
|
|
ifneq (,$(filter nrf24l01p,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_gpio
|
2018-08-26 09:22:50 +02:00
|
|
|
FEATURES_REQUIRED += periph_gpio_irq
|
2018-08-26 07:53:34 +02:00
|
|
|
FEATURES_REQUIRED += periph_spi
|
|
|
|
USEMODULE += xtimer
|
|
|
|
endif
|
|
|
|
|
2015-10-21 15:11:05 +02:00
|
|
|
ifneq (,$(filter nvram_spi,$(USEMODULE)))
|
2018-08-26 07:55:02 +02:00
|
|
|
FEATURES_REQUIRED += periph_spi
|
2017-09-06 13:59:07 +02:00
|
|
|
USEMODULE += nvram
|
|
|
|
USEMODULE += xtimer
|
2015-10-21 15:11:05 +02:00
|
|
|
endif
|
|
|
|
|
2019-08-28 13:21:39 +02:00
|
|
|
ifneq (,$(filter opt3001,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_i2c
|
|
|
|
USEMODULE += xtimer
|
|
|
|
endif
|
|
|
|
|
2018-12-06 09:47:24 +01:00
|
|
|
ifneq (,$(filter pca9685,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_gpio
|
|
|
|
FEATURES_REQUIRED += periph_i2c
|
|
|
|
USEMODULE += xtimer
|
2019-11-16 14:08:49 +01:00
|
|
|
|
|
|
|
# efm32 CPU doesn't support PWM_RIGHT
|
|
|
|
FEATURES_BLACKLIST += arch_efm32
|
2018-12-06 09:47:24 +01:00
|
|
|
endif
|
|
|
|
|
2015-10-21 15:11:05 +02:00
|
|
|
ifneq (,$(filter pcd8544,$(USEMODULE)))
|
2018-08-26 07:55:59 +02:00
|
|
|
FEATURES_REQUIRED += periph_gpio
|
|
|
|
FEATURES_REQUIRED += periph_spi
|
2017-09-06 13:59:07 +02:00
|
|
|
USEMODULE += xtimer
|
2015-10-21 15:11:05 +02:00
|
|
|
endif
|
|
|
|
|
2019-02-10 22:59:04 +01:00
|
|
|
ifneq (,$(filter ph_oem,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_gpio_irq
|
|
|
|
FEATURES_REQUIRED += periph_i2c
|
|
|
|
USEMODULE += xtimer
|
|
|
|
endif
|
|
|
|
|
2018-06-26 22:46:37 +02:00
|
|
|
ifneq (,$(filter pir,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_gpio
|
2018-08-26 09:22:50 +02:00
|
|
|
FEATURES_REQUIRED += periph_gpio_irq
|
|
|
|
USEMODULE += xtimer
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter pn532,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_gpio
|
|
|
|
FEATURES_REQUIRED += periph_gpio_irq
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter pulse_counter,$(USEMODULE)))
|
2018-06-26 22:46:37 +02:00
|
|
|
USEMODULE += xtimer
|
2018-08-26 09:22:50 +02:00
|
|
|
FEATURES_REQUIRED += periph_gpio_irq
|
2018-06-26 22:46:37 +02:00
|
|
|
endif
|
|
|
|
|
2019-10-14 23:40:16 +02:00
|
|
|
ifneq (,$(filter qmc5883l_int,$(USEMODULE)))
|
|
|
|
USEMODULE += qmc5883l
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter qmc5883l,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_i2c
|
|
|
|
ifneq (,$(filter qmc5883l_int,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_gpio_irq
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2015-10-21 15:11:05 +02:00
|
|
|
ifneq (,$(filter rgbled,$(USEMODULE)))
|
|
|
|
USEMODULE += color
|
|
|
|
endif
|
|
|
|
|
2017-09-11 14:55:42 +02:00
|
|
|
ifneq (,$(filter rn2%3,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_gpio
|
|
|
|
FEATURES_REQUIRED += periph_uart
|
|
|
|
USEMODULE += xtimer
|
|
|
|
USEMODULE += rn2xx3
|
|
|
|
USEMODULE += fmt
|
|
|
|
endif
|
|
|
|
|
2016-10-31 14:37:28 +01:00
|
|
|
ifneq (,$(filter sdcard_spi,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_gpio
|
|
|
|
FEATURES_REQUIRED += periph_spi
|
2018-02-24 00:06:17 +01:00
|
|
|
USEMODULE += checksum
|
2016-10-31 14:37:28 +01:00
|
|
|
USEMODULE += xtimer
|
|
|
|
endif
|
|
|
|
|
2018-11-22 18:50:29 +01:00
|
|
|
ifneq (,$(filter sds011,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_uart
|
|
|
|
endif
|
|
|
|
|
2018-06-07 11:11:39 +02:00
|
|
|
ifneq (,$(filter servo,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_pwm
|
|
|
|
endif
|
|
|
|
|
2018-06-13 08:26:30 +02:00
|
|
|
ifneq (,$(filter sht1%,$(USEMODULE)))
|
|
|
|
USEMODULE += sht1x
|
2018-06-13 09:17:29 +02:00
|
|
|
FEATURES_REQUIRED += periph_gpio
|
2017-09-06 13:59:07 +02:00
|
|
|
USEMODULE += xtimer
|
2015-10-21 15:11:05 +02:00
|
|
|
endif
|
|
|
|
|
2017-08-20 13:51:53 +02:00
|
|
|
ifneq (,$(filter sht2x,$(USEMODULE)))
|
|
|
|
USEMODULE += xtimer
|
|
|
|
FEATURES_REQUIRED += periph_i2c
|
|
|
|
endif
|
|
|
|
|
2018-11-21 08:48:20 +01:00
|
|
|
ifneq (,$(filter sht3x,$(USEMODULE)))
|
|
|
|
USEMODULE += xtimer
|
2019-12-11 15:43:20 +01:00
|
|
|
USEMODULE += checksum
|
2018-11-21 08:48:20 +01:00
|
|
|
FEATURES_REQUIRED += periph_i2c
|
|
|
|
endif
|
|
|
|
|
2017-10-26 10:21:12 +02:00
|
|
|
ifneq (,$(filter shtc1,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_i2c
|
|
|
|
USEMODULE += xtimer
|
|
|
|
USEMODULE += checksum
|
|
|
|
endif
|
|
|
|
|
2017-03-23 14:11:44 +01:00
|
|
|
ifneq (,$(filter si114%,$(USEMODULE)))
|
|
|
|
USEMODULE += xtimer
|
|
|
|
FEATURES_REQUIRED += periph_i2c
|
|
|
|
USEMODULE += si114x
|
|
|
|
endif
|
|
|
|
|
2017-07-03 00:00:47 +02:00
|
|
|
ifneq (,$(filter si70%,$(USEMODULE)))
|
2017-09-06 13:59:07 +02:00
|
|
|
USEMODULE += xtimer
|
|
|
|
FEATURES_REQUIRED += periph_i2c
|
2017-07-03 00:00:47 +02:00
|
|
|
USEMODULE += si70xx
|
2016-07-18 23:05:17 +02:00
|
|
|
endif
|
|
|
|
|
2019-04-28 17:54:09 +02:00
|
|
|
ifneq (,$(filter stmpe811,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_gpio_irq
|
|
|
|
FEATURES_REQUIRED += periph_i2c
|
|
|
|
USEMODULE += xtimer
|
|
|
|
endif
|
|
|
|
|
2017-12-05 12:50:52 +01:00
|
|
|
ifneq (,$(filter slipdev,$(USEMODULE)))
|
2017-12-13 21:37:45 +01:00
|
|
|
USEMODULE += tsrb
|
2017-12-05 12:50:52 +01:00
|
|
|
FEATURES_REQUIRED += periph_uart
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter soft_spi,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_gpio
|
|
|
|
USEMODULE += xtimer
|
|
|
|
endif
|
|
|
|
|
2020-02-17 11:02:37 +01:00
|
|
|
ifneq (,$(filter sps30,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_i2c
|
|
|
|
USEMODULE += checksum
|
|
|
|
endif
|
|
|
|
|
2018-08-26 07:58:42 +02:00
|
|
|
ifneq (,$(filter srf02,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_i2c
|
|
|
|
USEMODULE += xtimer
|
|
|
|
endif
|
|
|
|
|
2018-09-20 13:00:57 +02:00
|
|
|
ifneq (,$(filter srf04,$(USEMODULE)))
|
|
|
|
USEMODULE += xtimer
|
|
|
|
FEATURES_REQUIRED += periph_gpio
|
|
|
|
FEATURES_REQUIRED += periph_gpio_irq
|
|
|
|
endif
|
|
|
|
|
2015-10-22 11:06:38 +02:00
|
|
|
ifneq (,$(filter srf08,$(USEMODULE)))
|
2018-08-26 07:59:15 +02:00
|
|
|
FEATURES_REQUIRED += periph_i2c
|
2015-10-22 11:06:38 +02:00
|
|
|
USEMODULE += xtimer
|
|
|
|
endif
|
|
|
|
|
2018-12-15 02:23:37 +01:00
|
|
|
ifneq (,$(filter stm32_eth,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_eth
|
|
|
|
FEATURES_REQUIRED += periph_dma
|
|
|
|
USEMODULE += netdev_eth
|
|
|
|
USEMODULE += iolist
|
|
|
|
USEMODULE += luid
|
|
|
|
endif
|
|
|
|
|
2017-06-30 19:00:27 +02:00
|
|
|
ifneq (,$(filter sx127%,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_gpio
|
2018-08-26 09:22:50 +02:00
|
|
|
FEATURES_REQUIRED += periph_gpio_irq
|
2017-06-30 19:00:27 +02:00
|
|
|
FEATURES_REQUIRED += periph_spi
|
2019-05-20 18:01:19 +02:00
|
|
|
FEATURES_OPTIONAL += periph_spi_gpio_mode
|
2018-01-12 00:19:03 +01:00
|
|
|
USEMODULE += iolist
|
2017-06-30 19:00:27 +02:00
|
|
|
USEMODULE += xtimer
|
|
|
|
USEMODULE += sx127x
|
2017-11-17 10:51:00 +01:00
|
|
|
USEMODULE += netif
|
2017-12-09 22:13:08 +01:00
|
|
|
USEMODULE += lora
|
2019-09-24 15:59:49 +02:00
|
|
|
|
|
|
|
ifneq (,$(filter gnrc,$(USEMODULE)))
|
|
|
|
# Pull in `ifconfig` support for LoRA
|
|
|
|
USEMODULE += gnrc_netif_cmd_lora
|
|
|
|
endif
|
2017-06-30 19:00:27 +02:00
|
|
|
endif
|
2017-10-28 21:09:36 +02:00
|
|
|
|
|
|
|
ifneq (,$(filter tcs37727,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_i2c
|
|
|
|
endif
|
|
|
|
|
2017-11-02 15:48:54 +01:00
|
|
|
ifneq (,$(filter tps6274x,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_gpio
|
|
|
|
endif
|
|
|
|
|
2018-09-18 20:40:33 +02:00
|
|
|
ifneq (,$(filter tja1042,$(USEMODULE)))
|
|
|
|
USEMODULE += can_trx
|
|
|
|
FEATURES_REQUIRED += periph_gpio
|
|
|
|
endif
|
|
|
|
|
2019-08-16 14:18:12 +02:00
|
|
|
ifneq (,$(filter tmp00%,$(USEMODULE)))
|
2017-10-28 21:09:36 +02:00
|
|
|
FEATURES_REQUIRED += periph_i2c
|
2017-12-05 12:50:52 +01:00
|
|
|
USEMODULE += xtimer
|
2019-08-16 14:18:12 +02:00
|
|
|
USEMODULE += tmp00x
|
2017-12-05 12:50:52 +01:00
|
|
|
endif
|
|
|
|
|
2018-09-18 20:40:33 +02:00
|
|
|
ifneq (,$(filter tsl2561,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_i2c
|
|
|
|
USEMODULE += xtimer
|
|
|
|
endif
|
|
|
|
|
2018-10-11 11:56:01 +02:00
|
|
|
ifneq (,$(filter tsl4531x,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_i2c
|
|
|
|
USEMODULE += xtimer
|
|
|
|
endif
|
|
|
|
|
2017-12-05 12:50:52 +01:00
|
|
|
ifneq (,$(filter uart_half_duplex,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_gpio
|
|
|
|
FEATURES_REQUIRED += periph_uart
|
|
|
|
USEMODULE += xtimer
|
2017-10-28 21:09:36 +02:00
|
|
|
endif
|
2017-06-30 19:00:27 +02:00
|
|
|
|
2017-03-07 11:31:39 +01:00
|
|
|
ifneq (,$(filter vcnl40%0,$(USEMODULE)))
|
|
|
|
USEMODULE += vcnl40x0
|
|
|
|
FEATURES_REQUIRED += periph_i2c
|
|
|
|
endif
|
|
|
|
|
2017-02-27 21:56:23 +01:00
|
|
|
ifneq (,$(filter veml6070,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_i2c
|
|
|
|
endif
|
|
|
|
|
2016-08-05 14:44:09 +02:00
|
|
|
ifneq (,$(filter w5100,$(USEMODULE)))
|
2018-08-26 09:22:50 +02:00
|
|
|
FEATURES_REQUIRED += periph_gpio_irq
|
2017-11-28 23:09:05 +01:00
|
|
|
FEATURES_REQUIRED += periph_spi
|
2017-02-15 13:07:34 +01:00
|
|
|
USEMODULE += netdev_eth
|
2017-02-24 08:57:11 +01:00
|
|
|
USEMODULE += luid
|
2016-08-05 14:44:09 +02:00
|
|
|
endif
|
|
|
|
|
2019-11-12 20:16:25 +01:00
|
|
|
ifneq (,$(filter ws281x_%,$(USEMODULE)))
|
|
|
|
USEMODULE += ws281x
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter ws281x,$(USEMODULE)))
|
|
|
|
FEATURES_OPTIONAL += arch_avr8
|
2019-11-23 09:26:28 +01:00
|
|
|
FEATURES_OPTIONAL += arch_native
|
2019-11-12 20:16:25 +01:00
|
|
|
ifeq (,$(filter ws281x_%,$(USEMODULE)))
|
|
|
|
ifneq (,$(filter arch_avr8,$(FEATURES_USED)))
|
|
|
|
USEMODULE += ws281x_atmega
|
|
|
|
endif
|
2019-11-23 09:26:28 +01:00
|
|
|
ifneq (,$(filter arch_native,$(FEATURES_USED)))
|
|
|
|
USEMODULE += ws281x_vt100
|
|
|
|
endif
|
2019-11-12 20:16:25 +01:00
|
|
|
endif
|
|
|
|
ifneq (,$(filter ws281x_atmega,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += arch_avr8
|
|
|
|
endif
|
|
|
|
USEMODULE += xtimer
|
|
|
|
endif
|
|
|
|
|
2015-10-21 15:11:05 +02:00
|
|
|
ifneq (,$(filter xbee,$(USEMODULE)))
|
2018-08-26 08:00:25 +02:00
|
|
|
FEATURES_REQUIRED += periph_uart
|
|
|
|
FEATURES_REQUIRED += periph_gpio
|
2015-10-21 15:11:05 +02:00
|
|
|
USEMODULE += ieee802154
|
|
|
|
USEMODULE += xtimer
|
|
|
|
USEMODULE += netif
|
|
|
|
endif
|