Skip to content

Commit

Permalink
pkg/nimble: Add required dependency for non-default PHYs
Browse files Browse the repository at this point in the history
  • Loading branch information
chrysn committed Dec 28, 2024
1 parent 4e75536 commit 12c1e02
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/nimble/Makefile.include
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 12c1e02

Please sign in to comment.