1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

Merge pull request #11673 from aabadie/pr/exemples/nimble_radio_ble

pkg/nimble: add dependency to ble_nimble feature + remove board whitelist from tests and examples
This commit is contained in:
Hauke Petersen 2019-06-13 15:51:14 +02:00 committed by GitHub
commit 4e9efe1fee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 7 additions and 12 deletions

View File

@ -795,7 +795,7 @@ ifneq (,$(filter skald_%,$(USEMODULE)))
endif
ifneq (,$(filter skald,$(USEMODULE)))
FEATURES_REQUIRED += radio_ble
FEATURES_REQUIRED += radio_nrfble
USEMODULE += xtimer
USEMODULE += random
endif

View File

@ -6,7 +6,7 @@ ifeq (,$(filter nordic_softdevice_ble,$(USEPKG)))
endif
# Various other features (if any)
FEATURES_PROVIDED += radio_ble
FEATURES_PROVIDED += ble_nimble
FEATURES_PROVIDED += radio_nrfble
include $(RIOTCPU)/nrf52/Makefile.features

View File

@ -4,9 +4,6 @@ APPLICATION = nimble_gatt
# If no BOARD is found in the environment, use this default:
BOARD ?= nrf52dk
# So far, NimBLE only works on nRF52 based platforms
BOARD_WHITELIST := nrf52dk nrf52840dk nrf52832-mdk
# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../..

View File

@ -4,9 +4,6 @@ APPLICATION = nimble_scanner
# If no BOARD is found in the environment, use this default:
BOARD ?= nrf52dk
# So far, NimBLE only works on nRF52 based platforms
BOARD_WHITELIST := nrf52dk nrf52840dk
# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../..

View File

@ -3,6 +3,9 @@ USEMODULE += posix_semaphore
USEMODULE += event_callback
USEMODULE += xtimer
# Requires nimble feature
FEATURES_REQUIRED += ble_nimble
# glue code
USEMODULE += nimble_riot_contrib

View File

@ -1,6 +1,5 @@
# Configure default and allowed boards
# Configure nrf52dk as default board
BOARD ?= nrf52dk
BOARD_WHITELIST := nrf52dk nrf52840dk
# load the default test environment
include ../Makefile.tests_common

View File

@ -1,6 +1,5 @@
# Configure default and allowed boards
# Configure nrf52dk as default board
BOARD ?= nrf52dk
BOARD_WHITELIST := nrf52dk nrf52840dk
# load the default test environment
include ../Makefile.tests_common