Merge branch 'bugfix/fix_classic_bt_build_fail_v5.2' into 'release/v5.2'

fix(bt/bluedroid): Fixed classic bt build fail when enable dynamic memory and disable BLE (v5.2)

See merge request espressif/esp-idf!34929
This commit is contained in:
Wang Meng Yang
2024-11-15 17:34:56 +08:00

View File

@@ -195,11 +195,16 @@
#define BLE_50_FEATURE_SUPPORT FALSE
#endif
#if (UC_BT_BLE_ENABLED ==TRUE)
#if (UC_BT_BLE_42_FEATURES_SUPPORTED == TRUE || BLE_50_FEATURE_SUPPORT == FALSE)
#define BLE_42_FEATURE_SUPPORT TRUE
#else
#define BLE_42_FEATURE_SUPPORT FALSE
#endif
#else
#define BLE_42_FEATURE_SUPPORT FALSE
#define BLE_50_FEATURE_SUPPORT FALSE
#endif /* UC_BT_BLE_ENABLED */
#if (UC_BT_BLE_FEAT_PERIODIC_ADV_SYNC_TRANSFER == TRUE)
#define BLE_FEAT_PERIODIC_ADV_SYNC_TRANSFER TRUE