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:
commit
4e9efe1fee
@ -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
|
||||
|
@ -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
|
||||
|
@ -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)/../..
|
||||
|
||||
|
@ -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)/../..
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user