Merge branch 'bugfix/fix_bt_avrcp_build_issue' into 'master'

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

Closes IDFGH-15516

See merge request espressif/esp-idf!39982
This commit is contained in:
Jiang Jiang Jian
2025-06-20 14:02:10 +08:00
2 changed files with 14 additions and 0 deletions

View File

@ -1724,9 +1724,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