From 1f3d8588ae1f1c00fa95159f49b40fbf42f2ec43 Mon Sep 17 00:00:00 2001 From: Krzysztof Date: Thu, 3 Dec 2020 16:21:16 +0800 Subject: [PATCH] docs: ESP-IDF v4.2 fully supports ESP32-S2, remove documentation that describe preview support --- docs/conf_common.py | 3 +- docs/en/esp32s2.rst | 82 ------------------------------------------ docs/en/index.rst | 1 - docs/zh_CN/esp32s2.rst | 1 - docs/zh_CN/index.rst | 1 - 5 files changed, 1 insertion(+), 87 deletions(-) delete mode 100644 docs/en/esp32s2.rst delete mode 100644 docs/zh_CN/esp32s2.rst diff --git a/docs/conf_common.py b/docs/conf_common.py index 2cc9d9bf92..cd09b1025f 100644 --- a/docs/conf_common.py +++ b/docs/conf_common.py @@ -159,8 +159,7 @@ ESP32_DOCS = ['api-guides/ulp_instruction_set.rst', 'api-reference/peripherals/secure_element.rst', 'hw-reference/esp32/**'] + LEGACY_DOCS -ESP32S2_DOCS = ['esp32s2.rst', - 'hw-reference/esp32s2/**', +ESP32S2_DOCS = ['hw-reference/esp32s2/**', 'api-guides/ulps2_instruction_set.rst', 'api-guides/dfu.rst', 'api-reference/peripherals/hmac.rst', diff --git a/docs/en/esp32s2.rst b/docs/en/esp32s2.rst deleted file mode 100644 index daab93f5dc..0000000000 --- a/docs/en/esp32s2.rst +++ /dev/null @@ -1,82 +0,0 @@ -ESP32-S2 Preview Support -======================== - -The current master branch of ESP-IDF (pre-v4.2) contains preview support for ESP32-S2. - -..note: Support for the ESP32-S2beta chip is included in ESP-IDF v4.1 as a preview only. In ESP-IDF v4.2 (this version) it has been replaced by ESP32-S2 (non-beta) chip support. - -Software support and documentation for ESP32-S2 chip is still being developed. See :ref:`esp32s2-limitations` section below. - -Documentation -^^^^^^^^^^^^^ - -You are viewing the version of the ESP-IDF Programming Guide that describes ESP32-S2 support. However, as this version is still under development then there may be some changes from ESP32 that are not yet correctly documented here. If you find documentation that needs updating, please use the "Provide feedback about this document" link at the bottom of the page to tell us about it. - -Setting up for ESP32-S2 -^^^^^^^^^^^^^^^^^^^^^^^ - -To start with, follow the :doc:`/get-started/index` guide to configure the CMake-based build system for ESP32. - -When running ``install.sh`` or ``install.bat`` as part of the Get Started guide, the ESP32-S2 toolchain will be automatically downloaded and added to the IDF Tools directory. If you had already run ``install.sh`` or ``install.bat`` before updating to a version with ESP32-S2 support, you may need to re-run it. - -The toolchain tuple is `xtensa-esp32s2-elf-`, for example the GCC compiler for this target is named `xtensa-esp32s2-elf-gcc`. - -Manual toolchain URLs ---------------------- - -If not using ``install.sh`` or ``install.bat``, you can download the toolchain manually. Download links can be found in the :ref:`idf-tools-list`, under the name ``xtensa-esp32s2-elf``. - -If installing the toolchain manually, unpack it somewhere and add the ``bin`` subdirectory to your `PATH`. - -Building a project for ESP32-S2 -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -.. important:: Not all ESP-IDF examples support ESP32-S2. - - For some examples this is because required hardware is not included in ESP32-S2 so it cannot be supported. For some examples this is because the example has not yet been updated for ESP32-S2. - - If building an example, please check the README file for the ``Supported Targets`` table. If no ESP32-S2 listed, the example won't work on ESP32-S2. - -.. highlight:: bash - -Before building an ESP-IDF project, run the following command to switch the target to ESP32-S2:: - - idf.py set-target esp32s2 - -.. important:: Running ``set-target`` will clear the project configuration and create a new empty ``sdkconfig`` file for the project. The old configuration will be saved in ``sdkconfig.old``. - -See :ref:`selecting-idf-target` for more details about switching between different targets (esp32, esp32s2). - -Then configure the project:: - - idf.py menuconfig - -Build and flash the project as usual, for example:: - - idf.py -p PORT flash monitor - -Consult the :doc:`/get-started/index` guide for more details on building and flashing an ESP-IDF project. - -.. note:: It is possible to set the project target back to ESP32 by running ``idf.py set-target esp32``. This also clears the project configuration. - -.. _esp32s2-limitations: - -Limitations -^^^^^^^^^^^ - -ESP32-S2 support is currently a preview and does not support all features. Espressif firmware developers are working hard on the remaining support, so please update the ``master`` branch regularly to receive the latest code. - -- The integrated USB OTG peripheral is not supported -- Documentation not updated for ESP32-S2 in most places -- Peripheral drivers and power saving modes are a work in progress -- No hardware security features or cryptographic accelerator support -- Time-of-Flight (TOF) measurements with normal Wi-Fi packets is not supported - -The up-to-date list of features supported on ESP32-S2 is maintained at `in this forum post `_. - -Issues -^^^^^^ - -If you find issues which are not mentioned in :ref:`esp32s2-limitations`, please `open an issue on GitHub `_. - -Please make sure to mention that you are using the ESP32-S2 chip and give your exact version of ESP-IDF. diff --git a/docs/en/index.rst b/docs/en/index.rst index 77a3c640d2..84366be9e6 100644 --- a/docs/en/index.rst +++ b/docs/en/index.rst @@ -47,7 +47,6 @@ This is the documentation for Espressif IoT Development Framework (`esp-idf Get Started API Reference H/W Reference diff --git a/docs/zh_CN/esp32s2.rst b/docs/zh_CN/esp32s2.rst deleted file mode 100644 index 21a38a6a05..0000000000 --- a/docs/zh_CN/esp32s2.rst +++ /dev/null @@ -1 +0,0 @@ -.. include:: ../en/esp32s2.rst diff --git a/docs/zh_CN/index.rst b/docs/zh_CN/index.rst index fd6550a099..f86d12c8b3 100644 --- a/docs/zh_CN/index.rst +++ b/docs/zh_CN/index.rst @@ -50,7 +50,6 @@ ESP-IDF 是 `ESP32 快速入门 API 参考 H/W 参考