1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

ble/softdevice: add ble_nordic_softdevice feature

The softdevice is only verified to be working on nrf52832-based
boards. This feature prevents the softdevice from being build for
other, similar targets (e.g. nrf52840-based boards).
This commit is contained in:
Hauke Petersen 2019-07-01 16:44:05 +02:00
parent c3aaf621b5
commit 03153acb1a
7 changed files with 8 additions and 0 deletions

View File

@ -72,6 +72,7 @@ ifneq (,$(filter uhcpc,$(USEMODULE)))
endif
ifneq (,$(filter nordic_softdevice_ble,$(USEPKG)))
FEATURES_REQUIRED += ble_nordic_softdevice
USEMODULE += softdevice_handler
USEMODULE += ble_common
USEMODULE += ble_6lowpan

View File

@ -3,4 +3,5 @@ FEATURES_PROVIDED += periph_i2c
FEATURES_PROVIDED += periph_spi
FEATURES_PROVIDED += periph_uart
include $(RIOTBOARD)/common/nrf52/Makefile.nrf52832.features
include $(RIOTBOARD)/common/nrf52/Makefile.features

View File

@ -0,0 +1,2 @@
# Nordic SoftDevice support in RIOT is verified for all nrf52832-based boards
FEATURES_PROVIDED += ble_nordic_softdevice

View File

@ -1,4 +1,5 @@
# Put defined MCU peripherals here (in alphabetical order)
FEATURES_PROVIDED += periph_uart
include $(RIOTBOARD)/common/nrf52/Makefile.nrf52832.features
include $(RIOTBOARD)/common/nrf52/Makefile.features

View File

@ -1 +1,2 @@
include $(RIOTBOARD)/common/nrf52/Makefile.nrf52832.features
include $(RIOTBOARD)/common/nrf52xxxdk/Makefile.features

View File

@ -2,4 +2,5 @@
FEATURES_PROVIDED += periph_spi
FEATURES_PROVIDED += periph_uart
include $(RIOTBOARD)/common/nrf52/Makefile.nrf52832.features
include $(RIOTBOARD)/common/nrf52/Makefile.features

View File

@ -1,4 +1,5 @@
# Put defined MCU peripherals here (in alphabetical order)
FEATURES_PROVIDED += periph_uart
include $(RIOTBOARD)/common/nrf52/Makefile.nrf52832.features
include $(RIOTBOARD)/common/nrf52/Makefile.features