1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-15 17:43:51 +01:00

cpu/nrf5x_common: prohibit selecting multiple radio mode features

This commit is contained in:
Mikolai Gütschow 2025-02-27 14:21:26 +01:00
parent cdcabf2591
commit 5dc3c1b576
No known key found for this signature in database
GPG Key ID: 943E2F37AA659AD5
2 changed files with 7 additions and 0 deletions

View File

@ -17,6 +17,10 @@ ifneq (,$(filter nrf802154,$(USEMODULE)))
endif
endif
ifneq (,$(filter nrfble,$(USEMODULE)))
FEATURES_REQUIRED += radio_nrfble
endif
# The nrf52832 requires gpio IRQ with SPI to work around errata 58
ifneq (,$(filter nrf52832xxaa,$(CPU_MODEL)))
ifneq (,$(filter periph_spi,$(USEMODULE)))

View File

@ -37,4 +37,7 @@ ifeq (,$(filter nrf9160 nrf5340_app,$(CPU_MODEL)))
FEATURES_PROVIDED += netif
endif
FEATURES_CONFLICT += radio_nrf802154:radio_nrfble radio_nrf802154:radio_nrfmin radio_nrfble:radio_nrfmin
FEATURES_CONFLICT_MSG += "Multiplexing the nRF radio between different radio modes is not supported."
include $(RIOTCPU)/cortexm_common/Makefile.features