diff --git a/docs/conf_common.py b/docs/conf_common.py index d3440cea20..98775e4e1d 100644 --- a/docs/conf_common.py +++ b/docs/conf_common.py @@ -25,6 +25,7 @@ BT_DOCS = [ 'api-reference/bluetooth/bt_vhci.rst', 'api-reference/bluetooth/controller_vhci.rst', 'api-reference/bluetooth/index.rst', + 'migration-guides/release-5.x/5.4/bt_common.rst', ] BLE_DOCS = [ @@ -74,6 +75,10 @@ CLASSIC_BT_DOCS = [ 'api-reference/bluetooth/esp_spp.rst', 'api-reference/bluetooth/esp_gap_bt.rst', 'migration-guides/release-5.x/5.0/bluetooth-classic.rst', + 'migration-guides/release-5.x/5.2/bluetooth-classic.rst', + 'migration-guides/release-5.x/5.3/bluetooth-classic.rst', + 'migration-guides/release-5.x/5.4/bluetooth-classic.rst', + 'migration-guides/release-6.x/6.0/bluetooth-classic.rst', ] BLUFI_DOCS = ['api-guides/ble/blufi.rst', 'api-reference/bluetooth/esp_blufi.rst'] @@ -90,6 +95,8 @@ WIFI_DOCS = [ 'api-reference/provisioning/provisioning.rst', 'api-reference/provisioning/wifi_provisioning.rst', 'migration-guides/release-5.x/5.2/wifi.rst', + 'migration-guides/release-5.x/5.4/wifi.rst', + 'migration-guides/release-5.x/5.5/wifi.rst', ] IEEE802154_DOCS = ['migration-guides/release-5.x/5.1/ieee802154.rst', 'migration-guides/release-5.x/5.2/ieee802154.rst'] diff --git a/docs/en/migration-guides/release-5.x/5.2/index.rst b/docs/en/migration-guides/release-5.x/5.2/index.rst index e21d8018e6..41c7ca8656 100644 --- a/docs/en/migration-guides/release-5.x/5.2/index.rst +++ b/docs/en/migration-guides/release-5.x/5.2/index.rst @@ -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 diff --git a/docs/en/migration-guides/release-5.x/5.3/index.rst b/docs/en/migration-guides/release-5.x/5.3/index.rst index 06147ed12a..2ba6fe6b67 100644 --- a/docs/en/migration-guides/release-5.x/5.3/index.rst +++ b/docs/en/migration-guides/release-5.x/5.3/index.rst @@ -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 diff --git a/docs/en/migration-guides/release-5.x/5.4/bluetooth-classic.rst b/docs/en/migration-guides/release-5.x/5.4/bluetooth-classic.rst index 281c56ffe4..df2202b973 100644 --- a/docs/en/migration-guides/release-5.x/5.4/bluetooth-classic.rst +++ b/docs/en/migration-guides/release-5.x/5.4/bluetooth-classic.rst @@ -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 diff --git a/docs/en/migration-guides/release-5.x/5.4/bt_common.rst b/docs/en/migration-guides/release-5.x/5.4/bt_common.rst index 32d4e17537..2fbc235b1d 100644 --- a/docs/en/migration-guides/release-5.x/5.4/bt_common.rst +++ b/docs/en/migration-guides/release-5.x/5.4/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` diff --git a/docs/en/migration-guides/release-5.x/5.4/index.rst b/docs/en/migration-guides/release-5.x/5.4/index.rst index 4b04ce76b3..ac93c391a6 100644 --- a/docs/en/migration-guides/release-5.x/5.4/index.rst +++ b/docs/en/migration-guides/release-5.x/5.4/index.rst @@ -8,7 +8,8 @@ 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 protocols diff --git a/docs/en/migration-guides/release-5.x/5.5/index.rst b/docs/en/migration-guides/release-5.x/5.5/index.rst index 0672e640b5..7b5782a959 100644 --- a/docs/en/migration-guides/release-5.x/5.5/index.rst +++ b/docs/en/migration-guides/release-5.x/5.5/index.rst @@ -10,4 +10,4 @@ Migration from 5.4 to 5.5 system peripherals protocols - wifi + :SOC_WIFI_SUPPORTED: wifi diff --git a/docs/en/migration-guides/release-6.x/6.0/index.rst b/docs/en/migration-guides/release-6.x/6.0/index.rst index 16eb84f5a3..6c116aa40d 100644 --- a/docs/en/migration-guides/release-6.x/6.0/index.rst +++ b/docs/en/migration-guides/release-6.x/6.0/index.rst @@ -6,7 +6,7 @@ Migration from 5.5 to 6.0 .. toctree:: :maxdepth: 1 - bluetooth-classic + :SOC_BT_CLASSIC_SUPPORTED: bluetooth-classic build-system peripherals provisioning diff --git a/docs/zh_CN/migration-guides/release-5.x/5.2/index.rst b/docs/zh_CN/migration-guides/release-5.x/5.2/index.rst index 0647016290..5452f3fb32 100644 --- a/docs/zh_CN/migration-guides/release-5.x/5.2/index.rst +++ b/docs/zh_CN/migration-guides/release-5.x/5.2/index.rst @@ -13,4 +13,4 @@ storage system :SOC_WIFI_SUPPORTED: wifi - bluetooth-classic + :SOC_BT_CLASSIC_SUPPORTED: bluetooth-classic diff --git a/docs/zh_CN/migration-guides/release-5.x/5.3/index.rst b/docs/zh_CN/migration-guides/release-5.x/5.3/index.rst index 03d9124347..6baca58e16 100644 --- a/docs/zh_CN/migration-guides/release-5.x/5.3/index.rst +++ b/docs/zh_CN/migration-guides/release-5.x/5.3/index.rst @@ -6,7 +6,7 @@ .. toctree:: :maxdepth: 1 - bluetooth-classic + :SOC_BT_CLASSIC_SUPPORTED: bluetooth-classic gcc peripherals protocols diff --git a/docs/zh_CN/migration-guides/release-5.x/5.4/bluetooth-classic.rst b/docs/zh_CN/migration-guides/release-5.x/5.4/bluetooth-classic.rst index 1caabf7608..6249c0bd29 100644 --- a/docs/zh_CN/migration-guides/release-5.x/5.4/bluetooth-classic.rst +++ b/docs/zh_CN/migration-guides/release-5.x/5.4/bluetooth-classic.rst @@ -12,8 +12,3 @@ Bluedroid - :component_file:`/bt/host/bluedroid/api/include/api/esp_sdp_api.h` - 结构体 ``esp_bluetooth_sdp_hdr_overlay_t`` 中的字段 ``user2_ptr_len`` 和 ``user2_ptr`` 被弃用,因为 SDP 的 API 或者事件中不会用到该字段。 - -Bluetooth Common APIs ---------------------- - -.. include:: ./bt_common.rst diff --git a/docs/zh_CN/migration-guides/release-5.x/5.4/bt_common.rst b/docs/zh_CN/migration-guides/release-5.x/5.4/bt_common.rst index bf0584646a..457931f3a1 100644 --- a/docs/zh_CN/migration-guides/release-5.x/5.4/bt_common.rst +++ b/docs/zh_CN/migration-guides/release-5.x/5.4/bt_common.rst @@ -1,7 +1,16 @@ +蓝牙通用 +=================== + +:link_to_translation:`en:[English]` + +以下属于蓝牙通用的头文件声明已移动: + .. only:: esp32 - :component_file:`/bt/include/esp32/include/esp_bt.h` + - 将 ``esp_wifi_bt_power_domain_on`` 和 ``esp_wifi_bt_power_domain_off`` 的声明从 ``esp_bt.h`` 移至 ``esp_phy_init.h`` , 因为它们属于组件 ``esp_phy`` 并且不希望被客户使用。 + .. only:: esp32c3 or esp32s3 - :component_file:`/bt/include/esp32c3/include/esp_bt.h` diff --git a/docs/zh_CN/migration-guides/release-5.x/5.4/index.rst b/docs/zh_CN/migration-guides/release-5.x/5.4/index.rst index 04f94d7947..16a58d3670 100644 --- a/docs/zh_CN/migration-guides/release-5.x/5.4/index.rst +++ b/docs/zh_CN/migration-guides/release-5.x/5.4/index.rst @@ -8,7 +8,8 @@ gcc system - bluetooth-classic + :SOC_BT_CLASSIC_SUPPORTED: bluetooth-classic + :SOC_BT_SUPPORTED: bt_common storage - wifi + :SOC_WIFI_SUPPORTED: wifi protocols diff --git a/docs/zh_CN/migration-guides/release-5.x/5.4/protocols.rst b/docs/zh_CN/migration-guides/release-5.x/5.4/protocols.rst index 7ff979f89e..5e9e7f8159 100644 --- a/docs/zh_CN/migration-guides/release-5.x/5.4/protocols.rst +++ b/docs/zh_CN/migration-guides/release-5.x/5.4/protocols.rst @@ -1 +1,14 @@ -.. include:: ../../../../en/migration-guides/release-5.x/5.4/protocols.rst +协议 +========= + +:link_to_translation:`en:[English]` + +HTTPS 服务器 +--------------- + +证书选择钩子 +~~~~~~~~~~~~~~~~~~~~~~~~~~ + +在 ESP HTTPS 服务器中,如需启用证书选择钩子功能,现在需要启用 :ref:`CONFIG_ESP_HTTPS_SERVER_CERT_SELECT_HOOK`,而不是 :ref:`CONFIG_ESP_TLS_SERVER_CERT_SELECT_HOOK`。 + +新的 :ref:`CONFIG_ESP_HTTPS_SERVER_CERT_SELECT_HOOK` 选项会自动选择 :ref:`CONFIG_ESP_TLS_SERVER_CERT_SELECT_HOOK`。 diff --git a/docs/zh_CN/migration-guides/release-5.x/5.5/index.rst b/docs/zh_CN/migration-guides/release-5.x/5.5/index.rst index 150b053e43..139e094317 100644 --- a/docs/zh_CN/migration-guides/release-5.x/5.5/index.rst +++ b/docs/zh_CN/migration-guides/release-5.x/5.5/index.rst @@ -10,4 +10,4 @@ system peripherals protocols - wifi + :SOC_WIFI_SUPPORTED: wifi diff --git a/docs/zh_CN/migration-guides/release-5.x/5.5/peripherals.rst b/docs/zh_CN/migration-guides/release-5.x/5.5/peripherals.rst index 1dfedeb3e3..bd457e8c4c 100644 --- a/docs/zh_CN/migration-guides/release-5.x/5.5/peripherals.rst +++ b/docs/zh_CN/migration-guides/release-5.x/5.5/peripherals.rst @@ -1,17 +1,17 @@ -Peripherals +外设 =========== -:link_to_translation:`zh_CN:[中文]` +:link_to_translation:`en:[English]` .. only:: SOC_TOUCH_SENSOR_SUPPORTED - Touch Sensor + 触摸传感器 ------------ - 电容式触摸传感器的驱动已更新为 :doc:`Capacitive Touch Sensor <../../../api-reference/peripherals/cap_touch_sens>`. + 电容式触摸传感器的驱动已更新为 :doc:`Capacitive Touch Sensor <../../../api-reference/peripherals/cap_touch_sens>`。 - - The new driver is in ``esp_driver_touch_sens`` component and the include path is ``driver/touch_sens.h``. - - The legacy driver is still available in the previous include path ``driver/touch_sensor.h``. + - 新的驱动位于 ``esp_driver_touch_sens`` 组件中,包含路径为 ``driver/touch_sens.h``。 + - 旧版驱动仍然可用,其包含路径为 ``driver/touch_sensor.h``。 尽管我们推荐使用新的驱动 API, 旧版驱动仍然可用,其头文件引用路径为 ``driver/touch_sensor.h``。但是,引用 ``driver/touch_sensor.h`` 会默认触发如下编译警告,可通过配置 Kconfig 选项 :ref:`CONFIG_TOUCH_SUPPRESS_DEPRECATE_WARN` 关闭该警告。 diff --git a/docs/zh_CN/migration-guides/release-6.x/6.0/bluetooth-classic.rst b/docs/zh_CN/migration-guides/release-6.x/6.0/bluetooth-classic.rst index 9eb79b80f6..d573b8df82 100644 --- a/docs/zh_CN/migration-guides/release-6.x/6.0/bluetooth-classic.rst +++ b/docs/zh_CN/migration-guides/release-6.x/6.0/bluetooth-classic.rst @@ -1,4 +1,4 @@ -Bluetooth Classic +经典蓝牙 ================= :link_to_translation:`en:[English]` diff --git a/docs/zh_CN/migration-guides/release-6.x/6.0/index.rst b/docs/zh_CN/migration-guides/release-6.x/6.0/index.rst index 81b1fdf27a..9c2f065b6e 100644 --- a/docs/zh_CN/migration-guides/release-6.x/6.0/index.rst +++ b/docs/zh_CN/migration-guides/release-6.x/6.0/index.rst @@ -6,7 +6,7 @@ .. toctree:: :maxdepth: 1 - bluetooth-classic + :SOC_BT_CLASSIC_SUPPORTED: bluetooth-classic build-system peripherals provisioning