From 12c1e02de354ec3246bcc378be6363d869ba9b94 Mon Sep 17 00:00:00 2001 From: chrysn Date: Sat, 28 Dec 2024 13:22:18 +0100 Subject: [PATCH] pkg/nimble: Add required dependency for non-default PHYs --- pkg/nimble/Makefile.include | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/nimble/Makefile.include b/pkg/nimble/Makefile.include index 75d66944e6c3..fb6c65dc6d69 100644 --- a/pkg/nimble/Makefile.include +++ b/pkg/nimble/Makefile.include @@ -30,9 +30,11 @@ ifneq (,$(filter nimble_controller,$(USEMODULE))) # Enable additional PHY modes if requested by the build ifneq (,$(filter ble_phy_2mbit,$(FEATURES_USED))) CFLAGS += -DMYNEWT_VAL_BLE_LL_CFG_FEAT_LE_2M_PHY=1 + CFLAGS += -DMYNEWT_VAL_BLE_LL_PHY=1 endif ifneq (,$(filter ble_phy_coded,$(FEATURES_USED))) CFLAGS += -DMYNEWT_VAL_BLE_LL_CFG_FEAT_LE_CODED_PHY=1 + CFLAGS += -DMYNEWT_VAL_BLE_LL_PHY=1 endif endif