From 5d88861dba91ab9ffa46e9d116d7ebc177d1fc7e Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Wed, 26 May 2021 10:58:38 +0800 Subject: [PATCH] docs: add RF calibration docs for ESP32-S2 --- docs/conf_common.py | 1 - docs/en/api-guides/RF_calibration.rst | 8 +------- docs/en/api-guides/index.rst | 2 +- docs/zh_CN/api-guides/index.rst | 2 +- 4 files changed, 3 insertions(+), 10 deletions(-) diff --git a/docs/conf_common.py b/docs/conf_common.py index cd09b1025f..a3166a6afa 100644 --- a/docs/conf_common.py +++ b/docs/conf_common.py @@ -153,7 +153,6 @@ LEGACY_DOCS = ['api-guides/build-system-legacy.rst', ESP32_DOCS = ['api-guides/ulp_instruction_set.rst', 'api-reference/system/himem.rst', - 'api-guides/RF_calibration.rst', 'api-reference/system/ipc.rst', 'security/secure-boot-v1.rst', 'api-reference/peripherals/secure_element.rst', diff --git a/docs/en/api-guides/RF_calibration.rst b/docs/en/api-guides/RF_calibration.rst index 883d82f809..263899b0cb 100644 --- a/docs/en/api-guides/RF_calibration.rst +++ b/docs/en/api-guides/RF_calibration.rst @@ -48,13 +48,7 @@ PHY initialization data The PHY initialization data is used for RF calibration. There are two ways to get the PHY initialization data. -.. only:: esp32 - - One is the default initialization data which is located in the header file :idf_file:`components/esp_wifi/esp32/include/phy_init_data.h`. - -.. only:: esp32s2 - - One is the default initialization data which is located in the header file :idf_file:`components/esp_wifi/esp32s2/include/phy_init_data.h`. +One is the default initialization data which is located in the header file :idf_file:`components/esp_wifi/esp32/include/phy_init_data.h`. It is embedded into the application binary after compiling and then stored into read-only memory (DROM). To use the default initialization data, please go to ``menuconfig`` and disable :ref:`CONFIG_ESP32_PHY_INIT_DATA_IN_PARTITION`. diff --git a/docs/en/api-guides/index.rst b/docs/en/api-guides/index.rst index 965e66205b..f5dd5c2f43 100644 --- a/docs/en/api-guides/index.rst +++ b/docs/en/api-guides/index.rst @@ -27,7 +27,7 @@ API Guides Linker Script Generation lwIP TCP/IP Stack Partition Tables - :esp32: RF Calibration + RF Calibration ROM debug console :esp32: Secure Boot <../security/secure-boot-v1> Secure Boot V2 <../security/secure-boot-v2> diff --git a/docs/zh_CN/api-guides/index.rst b/docs/zh_CN/api-guides/index.rst index f1bada57d6..08de87d37a 100644 --- a/docs/zh_CN/api-guides/index.rst +++ b/docs/zh_CN/api-guides/index.rst @@ -29,7 +29,7 @@ API 指南 :esp32: 单元测试 (传统 GNU Make) 应用层跟踪 ROM debug console - :esp32: RF Calibration + RF Calibration WiFi Driver :SOC_BT_SUPPORTED: ESP-BLE-MESH ESP-MESH (Wi-Fi)