1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/drivers/at86rf215/Makefile.dep
benpicco ef0eb9044b
Merge pull request #14954 from benpicco/drivers/at86rf215-netif_pktq
drivers/at86rf215: make use of packet queue if available
2020-12-01 17:59:06 +01:00

36 lines
892 B
Makefile

DEFAULT_MODULE += auto_init_at86rf215
ifneq (,$(filter at86rf215m,$(USEMODULE)))
USEMODULE += at86rf215_subghz
endif
ifeq (,$(filter at86rf215_subghz at86rf215_24ghz,$(USEMODULE)))
DEFAULT_MODULE += at86rf215_subghz
DEFAULT_MODULE += at86rf215_24ghz
endif
ifneq (,$(filter at86rf215_batmon,$(USEMODULE)))
USEMODULE += sys_bus_power
endif
DEFAULT_MODULE += netdev_ieee802154_multimode
DEFAULT_MODULE += netdev_ieee802154_oqpsk
DEFAULT_MODULE += netdev_ieee802154_mr_oqpsk
DEFAULT_MODULE += netdev_ieee802154_mr_ofdm
DEFAULT_MODULE += netdev_ieee802154_mr_fsk
FEATURES_REQUIRED += periph_gpio
FEATURES_REQUIRED += periph_gpio_irq
FEATURES_REQUIRED += periph_spi
ifneq (,$(filter gnrc,$(USEMODULE)))
ifeq (,$(filter gnrc_netif_pktq,$(USEMODULE)))
USEMODULE += at86rf215_blocking_send
endif
endif
USEMODULE += xtimer
USEMODULE += ieee802154
USEMODULE += netdev_ieee802154