mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
264d0e3354
The basic nrf802154 driver lacks ACK handling and retransmissions, which degrades it's usefulness. The 802.15.4 Sub-MAC fixes all those issues. Enable it by default for this driver to make it better behaved.
22 lines
618 B
Makefile
22 lines
618 B
Makefile
USEMODULE += nrf52_vectors
|
|
|
|
ifneq (,$(filter nrf802154,$(USEMODULE)))
|
|
FEATURES_REQUIRED += periph_timer
|
|
FEATURES_REQUIRED += radio_nrf802154
|
|
USEMODULE += luid
|
|
USEMODULE += netdev_ieee802154
|
|
ifeq (,$(filter netdev_ieee802154_legacy,$(USEMODULE)))
|
|
USEMODULE += netdev_ieee802154_submac
|
|
endif
|
|
endif
|
|
|
|
# The nrf52832 requires gpio IRQ with SPI to work around errata 58
|
|
ifneq (,$(filter nrf52832xxaa,$(CPU_MODEL)))
|
|
ifneq (,$(filter periph_spi,$(USEMODULE)))
|
|
FEATURES_REQUIRED += periph_gpio_irq
|
|
endif
|
|
endif
|
|
|
|
include $(RIOTCPU)/nrf5x_common/Makefile.dep
|
|
include $(RIOTCPU)/cortexm_common/Makefile.dep
|