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

pkg/nimble: add feature ble_adv_ext

To control the compilation of NimBLE modules `nimble_*_ext` that require the Bluetooth 5 Advertising Extension, the `ble_adv_ext` is introduced to indicate that a platform supports this feature.
This commit is contained in:
Gunar Schorcht 2022-08-12 16:06:16 +02:00
parent 73eb3cba72
commit 20f3e8b4fc
2 changed files with 10 additions and 0 deletions

View File

@ -42,6 +42,12 @@ config HAS_BACKUP_RAM
help
Indicates that Backup RAM is supported.
config HAS_BLE_ADV_EXT
bool
help
Indicates the current platform supports Bluetooth 5 Advertising
Extension
config HAS_BLE_NIMBLE
bool
help

View File

@ -65,6 +65,10 @@ ifneq (,$(filter nimble_addr,$(USEMODULE)))
USEMODULE += bluetil_addr
endif
ifneq (,$(filter nimble_adv_ext,$(USEMODULE)))
FEATURES_REQUIRED += ble_adv_ext
endif
ifneq (,$(filter nimble_autoadv,$(USEMODULE)))
USEMODULE += bluetil_ad
USEMODULE += bluetil_addr