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
This commit is contained in:
Wang Meng Yang
2024-11-15 17:35:24 +08:00

View File

@ -187,11 +187,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