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:
parent
73eb3cba72
commit
20f3e8b4fc
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user