Merge branch 'bugfix/fix_bt_avrcp_build_issue_v5.4' into 'release/v5.4'

fix(bt/bluedroid): Fix AVRCP build issue when disable Cover Art (v5.4)

See merge request espressif/esp-idf!40034
This commit is contained in:
Wang Meng Yang
2025-07-02 11:02:17 +08:00
2 changed files with 14 additions and 0 deletions

View File

@@ -1673,9 +1673,11 @@ void btc_avrc_get_profile_status(esp_avrc_profile_status_t *param)
if (btc_avrc_ct_init_p()) {
param->avrc_ct_inited = true;
}
#if BTC_AV_CA_INCLUDED
if (btc_rc_cb.rc_cover_art_connected) {
param->ct_cover_art_conn_num++;
}
#endif
}
}

View File

@@ -0,0 +1,12 @@
# Override some defaults so BT stack is enabled and
# Classic BT is enabled and BT_DRAM_RELEASE is disabled
CONFIG_BT_ENABLED=y
CONFIG_BTDM_CTRL_MODE_BLE_ONLY=n
CONFIG_BTDM_CTRL_MODE_BR_EDR_ONLY=y
CONFIG_BTDM_CTRL_MODE_BTDM=n
CONFIG_BT_BLUEDROID_ENABLED=y
CONFIG_BT_CLASSIC_ENABLED=y
CONFIG_BT_A2DP_ENABLE=y
CONFIG_BT_AVRCP_CT_COVER_ART_ENABLED=n
CONFIG_EXAMPLE_AVRCP_CT_COVER_ART_ENABLE=n
CONFIG_DAC_DMA_AUTO_16BIT_ALIGN=n