Skip to content

Commit efe70fe

Browse files
committed
Merge branch 'bugfix/fix_classic_bt_build_fail_v5.0' into 'release/v5.0'
fix(bt/bluedroid): Fixed classic bt build fail when enable dynamic memory and disable BLE (v5.0) See merge request espressif/esp-idf!34927
2 parents 94250f0 + e3f0e10 commit efe70fe

File tree

1 file changed

+5
-0
lines changed
  • components/bt/host/bluedroid/common/include/common

1 file changed

+5
-0
lines changed

components/bt/host/bluedroid/common/include/common/bt_target.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,11 +187,16 @@
187187
#define BLE_50_FEATURE_SUPPORT FALSE
188188
#endif
189189

190+
#if (UC_BT_BLE_ENABLED ==TRUE)
190191
#if (UC_BT_BLE_42_FEATURES_SUPPORTED == TRUE || BLE_50_FEATURE_SUPPORT == FALSE)
191192
#define BLE_42_FEATURE_SUPPORT TRUE
192193
#else
193194
#define BLE_42_FEATURE_SUPPORT FALSE
194195
#endif
196+
#else
197+
#define BLE_42_FEATURE_SUPPORT FALSE
198+
#define BLE_50_FEATURE_SUPPORT FALSE
199+
#endif /* UC_BT_BLE_ENABLED */
195200

196201
#if (UC_BT_BLE_FEAT_PERIODIC_ADV_SYNC_TRANSFER == TRUE)
197202
#define BLE_FEAT_PERIODIC_ADV_SYNC_TRANSFER TRUE

0 commit comments

Comments
 (0)