2020-06-23 00:29:29 +02:00
|
|
|
USEMODULE += nrf52_vectors
|
|
|
|
|
2019-03-04 13:18:47 +01:00
|
|
|
ifneq (,$(filter nrf802154,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_timer
|
|
|
|
FEATURES_REQUIRED += radio_nrf802154
|
|
|
|
USEMODULE += luid
|
2021-07-08 18:43:54 +02:00
|
|
|
ifneq (,$(filter netdev,$(USEMODULE)))
|
2020-10-01 17:27:38 +02:00
|
|
|
USEMODULE += netdev_ieee802154_submac
|
|
|
|
endif
|
2019-03-04 13:18:47 +01:00
|
|
|
endif
|
2019-12-07 16:53:23 +01:00
|
|
|
|
2020-05-18 19:15:35 +02:00
|
|
|
# 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
|
|
|
|
|
2021-02-25 14:26:18 +01:00
|
|
|
ifneq (,$(filter periph_uart_nonblocking,$(USEMODULE)))
|
|
|
|
USEMODULE += tsrb
|
|
|
|
endif
|
|
|
|
|
2019-12-07 16:53:23 +01:00
|
|
|
include $(RIOTCPU)/nrf5x_common/Makefile.dep
|
2020-03-27 02:30:11 +01:00
|
|
|
include $(RIOTCPU)/cortexm_common/Makefile.dep
|