docs: Add SoC conditional flag for Bluetooth Classic in migration guides

This commit is contained in:
luweike
2025-08-27 12:02:13 +08:00
parent 6f651211fa
commit 490d96ecfc
11 changed files with 36 additions and 21 deletions
@@ -13,4 +13,4 @@ Migration from 5.1 to 5.2
storage
system
:SOC_WIFI_SUPPORTED: wifi
bluetooth-classic
:SOC_BT_CLASSIC_SUPPORTED: bluetooth-classic
@@ -6,7 +6,7 @@ Migration from 5.2 to 5.3
.. toctree::
:maxdepth: 1
bluetooth-classic
:SOC_BT_CLASSIC_SUPPORTED: bluetooth-classic
gcc
peripherals
protocols
@@ -12,8 +12,3 @@ Bluedroid
- :component_file:`/bt/host/bluedroid/api/include/api/esp_sdp_api.h`
- Field ``user2_ptr_len`` and ``user2_ptr`` is deprecated in structure ``esp_bluetooth_sdp_hdr_overlay_t``, since they are not used in SDP record creation or searching.
Bluetooth Common APIs
---------------------
.. include:: ./bt_common.rst
@@ -1,7 +1,16 @@
Bluetooth Common
====================
:link_to_translation:`zh_CN:[中文]`
The following Bluetooth Common header declarations have been moved:
.. only:: esp32
- :component_file:`/bt/include/esp32/include/esp_bt.h`
- Move the declarations of ``esp_wifi_bt_power_domain_on`` and ``esp_wifi_bt_power_domain_off`` from ``esp_bt.h`` to ``esp_phy_init.h``, since they belong to component ``esp_phy`` and are not expected to be used by customer.
.. only:: esp32c3 or esp32s3
- :component_file:`/bt/include/esp32c3/include/esp_bt.h`
@@ -8,6 +8,7 @@ Migration from 5.3 to 5.4
gcc
system
bluetooth-classic
:SOC_BT_CLASSIC_SUPPORTED: bluetooth-classic
:SOC_BT_SUPPORTED: bt_common
storage
wifi
:SOC_WIFI_SUPPORTED: wifi