diff --git a/kconfigs/Kconfig.features b/kconfigs/Kconfig.features index 6f609fb197..e9756dd461 100644 --- a/kconfigs/Kconfig.features +++ b/kconfigs/Kconfig.features @@ -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 diff --git a/pkg/nimble/Makefile.dep b/pkg/nimble/Makefile.dep index ace868e962..305bab9c6a 100644 --- a/pkg/nimble/Makefile.dep +++ b/pkg/nimble/Makefile.dep @@ -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