From 5da482e871155cf33566b71b08e8d0f5bc7f9178 Mon Sep 17 00:00:00 2001 From: daiziyan Date: Wed, 22 Sep 2021 19:12:32 +0800 Subject: [PATCH] docs: update CN translation and keep line number consistent for all documents in get-started section --- docs/en/get-started/eclipse-setup.rst | 1 + .../establish-serial-connection.rst | 7 ++-- docs/en/get-started/index.rst | 13 ++----- docs/en/get-started/linux-setup-scratch.rst | 1 - docs/en/get-started/linux-setup.rst | 3 +- docs/en/get-started/macos-setup.rst | 4 +-- .../get-started/toolchain-setup-scratch.rst | 1 - docs/en/get-started/vscode-setup.rst | 2 +- docs/en/get-started/windows-setup-scratch.rst | 1 - docs/en/get-started/windows-setup.rst | 4 +-- docs/zh_CN/get-started/eclipse-setup.rst | 2 +- .../establish-serial-connection.rst | 8 ----- docs/zh_CN/get-started/index.rst | 34 +++++++++++-------- .../zh_CN/get-started/linux-setup-scratch.rst | 1 - docs/zh_CN/get-started/linux-setup.rst | 5 ++- .../zh_CN/get-started/macos-setup-scratch.rst | 3 -- docs/zh_CN/get-started/macos-setup.rst | 5 ++- .../get-started/toolchain-setup-scratch.rst | 2 -- docs/zh_CN/get-started/vscode-setup.rst | 3 +- .../get-started/windows-setup-scratch.rst | 3 +- .../get-started/windows-setup-update.rst | 2 +- docs/zh_CN/get-started/windows-setup.rst | 2 -- 22 files changed, 38 insertions(+), 69 deletions(-) diff --git a/docs/en/get-started/eclipse-setup.rst b/docs/en/get-started/eclipse-setup.rst index 03fcff2c16..15079a50f5 100644 --- a/docs/en/get-started/eclipse-setup.rst +++ b/docs/en/get-started/eclipse-setup.rst @@ -1,6 +1,7 @@ ******************************** Build and Flash with Eclipse IDE ******************************** + :link_to_translation:`zh_CN:[中文]` ESP-IDF V4.0 has a new CMake-based build system as the default build system. diff --git a/docs/en/get-started/establish-serial-connection.rst b/docs/en/get-started/establish-serial-connection.rst index beb72f859b..b8d76a0704 100644 --- a/docs/en/get-started/establish-serial-connection.rst +++ b/docs/en/get-started/establish-serial-connection.rst @@ -11,7 +11,6 @@ Connect {IDF_TARGET_NAME} to PC Connect the {IDF_TARGET_NAME} board to the PC using the USB cable. If device driver does not install automatically, identify USB to serial converter chip on your {IDF_TARGET_NAME} board (or external converter dongle), search for drivers in internet and install them. - Below is the list of USB to serial converter chips installed on most of the {IDF_TARGET_NAME} boards produced by Espressif together with links to the drivers: * CP210x: `CP210x USB to UART Bridge VCP Drivers `_ @@ -19,7 +18,6 @@ Below is the list of USB to serial converter chips installed on most of the {IDF Please check the board user guide for specific USB to serial converter chip used. The drivers above are primarily for reference. Under normal circumstances, the drivers should be bundled with an operating system and automatically installed upon connecting the board to the PC. - Check port on Windows --------------------- @@ -59,7 +57,6 @@ macOS :: macOS users: if you don't see the serial port then check you have the USB/serial drivers installed as shown in the Getting Started guide for your particular development board. For macOS High Sierra (10.13), you may also have to explicitly allow the drivers to load. Open System Preferences -> Security & Privacy -> General and check if there is a message shown here about "System Software from developer ..." where the developer name is Silicon Labs or FTDI. - .. _linux-dialout-group: Adding user to ``dialout`` on Linux @@ -79,7 +76,7 @@ Make sure you re-login to enable read and write permissions for the serial port. Verify serial connection ------------------------ -Now verify that the serial connection is operational. You can do this using a serial terminal program by checking if you get any output on the terminal after reseting {IDF_TARGET_NAME}. +Now verify that the serial connection is operational. You can do this using a serial terminal program by checking if you get any output on the terminal after reseting {IDF_TARGET_NAME}. Windows and Linux ^^^^^^^^^^^^^^^^^ @@ -126,7 +123,7 @@ To spare you the trouble of installing a serial terminal program, macOS offers t screen /dev/cu.device_name 115200 - Replace ``device_name`` with the name found running ``ls /dev/cu.*``. + Replace ``device_name`` with the name found running ``ls /dev/cu.*``. - What you are looking for is some log displayed by the **screen**. The log contents will depend on application loaded to {IDF_TARGET_NAME}, see `Example Output`_. To exit the **screen** session type Ctrl-A + \\ . diff --git a/docs/en/get-started/index.rst b/docs/en/get-started/index.rst index b46f48a074..2f14c94177 100644 --- a/docs/en/get-started/index.rst +++ b/docs/en/get-started/index.rst @@ -8,14 +8,11 @@ Get Started {IDF_TARGET_HEAP_SIZE:default="298968", esp32="298968", esp32s2="253900", esp32c3="337332"} - :link_to_translation:`zh_CN:[中文]` .. Please keep README.md in sync with these instructions. -This document is intended to help you set up the software development environment for the hardware based on the {IDF_TARGET_NAME} chip by Espressif. - -After that, a simple example will show you how to use ESP-IDF (Espressif IoT Development Framework) for menu configuration, then for building and flashing firmware onto an {IDF_TARGET_NAME} board. +This document is intended to help you set up the software development environment for the hardware based on the {IDF_TARGET_NAME} chip by Espressif. After that, a simple example will show you how to use ESP-IDF (Espressif IoT Development Framework) for menu configuration, then for building and flashing firmware onto an {IDF_TARGET_NAME} board. .. include-build-file:: inc/version-note.inc @@ -32,7 +29,6 @@ Introduction * Ultra Low Power co-processor * Multiple peripherals - .. only:: esp32s2 * Wi-Fi (2.4 GHz band) @@ -377,9 +373,7 @@ Windows cd %userprofile%\esp xcopy /e /i %IDF_PATH%\examples\get-started\hello_world hello_world -There is a range of example projects in the :idf:`examples` directory in ESP-IDF. You can copy any project in the same way as presented above and run it. - -It is also possible to build examples in-place, without copying them first. +There is a range of example projects in the :idf:`examples` directory in ESP-IDF. You can copy any project in the same way as presented above and run it. It is also possible to build examples in-place, without copying them first. .. important:: @@ -451,8 +445,7 @@ You are using this menu to set up project specific variables, e.g. Wi-Fi network .. note:: - The colors of the menu could be different in your terminal. You can change the appearance with the option - ``--style``. Please run ``idf.py menuconfig --help`` for further information. + The colors of the menu could be different in your terminal. You can change the appearance with the option ``--style``. Please run ``idf.py menuconfig --help`` for further information. .. _get-started-build: diff --git a/docs/en/get-started/linux-setup-scratch.rst b/docs/en/get-started/linux-setup-scratch.rst index 200c751680..57cdfc5b0d 100644 --- a/docs/en/get-started/linux-setup-scratch.rst +++ b/docs/en/get-started/linux-setup-scratch.rst @@ -105,7 +105,6 @@ Python 2 deprecation Python 2 reached its `end of life `_ and support for it in ESP-IDF will be removed soon. Please install Python 3.6 or higher. Instructions for popular Linux distributions are listed above. - Next Steps ========== diff --git a/docs/en/get-started/linux-setup.rst b/docs/en/get-started/linux-setup.rst index 4b06bc2049..6af69a3dc6 100644 --- a/docs/en/get-started/linux-setup.rst +++ b/docs/en/get-started/linux-setup.rst @@ -38,7 +38,7 @@ With some Linux distributions you may get the ``Failed to open port /dev/ttyUSB0 Fixing broken pip on Ubuntu 16.04 ================================= -Package ``python3-pip`` could be broken without possibility to upgrade it. +Package ``python3-pip`` could be broken without possibility to upgrade it. Package has to be removed and installed manually using script `get-pip.py `_.:: apt remove python3-pip python3-virtualenv; rm -r ~/.local @@ -54,5 +54,4 @@ Next Steps To carry on with development environment setup, proceed to :ref:`get-started-get-esp-idf`. - .. _AUR: https://wiki.archlinux.org/index.php/Arch_User_Repository diff --git a/docs/en/get-started/macos-setup.rst b/docs/en/get-started/macos-setup.rst index bb35b08ffc..154d5ea1e4 100644 --- a/docs/en/get-started/macos-setup.rst +++ b/docs/en/get-started/macos-setup.rst @@ -1,5 +1,5 @@ ********************************************** -Standard Setup of Toolchain for Mac OS +Standard Setup of Toolchain for macOS ********************************************** :link_to_translation:`zh_CN:[中文]` @@ -45,7 +45,7 @@ If the output is like ``Python 2.7.17``, your default interpreter is Python 2.7. python3 --version -If above command returns an error, it means Python 3 is not installed. +If above command returns an error, it means Python 3 is not installed. Below is an overview of steps to install Python 3. diff --git a/docs/en/get-started/toolchain-setup-scratch.rst b/docs/en/get-started/toolchain-setup-scratch.rst index e65233f685..7c02439761 100644 --- a/docs/en/get-started/toolchain-setup-scratch.rst +++ b/docs/en/get-started/toolchain-setup-scratch.rst @@ -24,4 +24,3 @@ In any case, here are the instructions to compile the toolchain yourself. windows-setup-scratch linux-setup-scratch macos-setup-scratch - diff --git a/docs/en/get-started/vscode-setup.rst b/docs/en/get-started/vscode-setup.rst index 0966ecc64a..423f9d77d1 100644 --- a/docs/en/get-started/vscode-setup.rst +++ b/docs/en/get-started/vscode-setup.rst @@ -34,4 +34,4 @@ Bugs & Feature Requests If you face an issue with certain feature of VS Code or VS Code in general we recommend to ask your question in the `forum `_, or open a `github issue `_ for our dev teams to review. -We also welcome new feature request, most of the features we have today is result of people asking it to implement, or improve certain aspect of the extension, `raise your feature request on github `_. \ No newline at end of file +We also welcome new feature request, most of the features we have today is result of people asking it to implement, or improve certain aspect of the extension, `raise your feature request on github `_. diff --git a/docs/en/get-started/windows-setup-scratch.rst b/docs/en/get-started/windows-setup-scratch.rst index 1065c717e7..0e881ec0ee 100644 --- a/docs/en/get-started/windows-setup-scratch.rst +++ b/docs/en/get-started/windows-setup-scratch.rst @@ -115,4 +115,3 @@ To carry on with development environment setup, proceed to :ref:`get-started-set .. Note: These two targets may be used from git-clone-notes.inc depending on version, don't remove .. _Stable version: https://docs.espressif.com/projects/esp-idf/en/stable/ .. _Releases page: https://github.com/espressif/esp-idf/releases - diff --git a/docs/en/get-started/windows-setup.rst b/docs/en/get-started/windows-setup.rst index 1dbe227696..736bd4faa0 100644 --- a/docs/en/get-started/windows-setup.rst +++ b/docs/en/get-started/windows-setup.rst @@ -24,8 +24,7 @@ For this Getting Started we're going to use the Command Prompt, but after ESP-ID .. note:: Limitation: the installation path of Python or ESP-IDF must not contain white spaces or parentheses. - Limitation: the installation path of Python or ESP-IDF should not contain special characters (non-ASCII) unless the operating system is configured with "Unicode UTF-8" support. - System Administrator can enable the support via Control Panel - Change date, time, or number formats - Administrative tab - Change system locale - check the option "Beta: Use Unicode UTF-8 for worldwide language support" - Ok and reboot the computer. + Limitation: the installation path of Python or ESP-IDF should not contain special characters (non-ASCII) unless the operating system is configured with "Unicode UTF-8" support. System Administrator can enable the support via Control Panel - Change date, time, or number formats - Administrative tab - Change system locale - check the option "Beta: Use Unicode UTF-8 for worldwide language support" - Ok and reboot the computer. .. _get-started-windows-tools-installer: @@ -119,7 +118,6 @@ For advanced users who want to customize the install process: windows-setup-update - .. _MSYS2: https://www.msys2.org/ .. _CMake: https://cmake.org/download/ .. _Ninja: https://ninja-build.org/ diff --git a/docs/zh_CN/get-started/eclipse-setup.rst b/docs/zh_CN/get-started/eclipse-setup.rst index cb79147b4d..5dc62ef192 100644 --- a/docs/zh_CN/get-started/eclipse-setup.rst +++ b/docs/zh_CN/get-started/eclipse-setup.rst @@ -14,4 +14,4 @@ ESP-IDF V4.0 默认采用基于 CMake 的构建系统。 .. only:: esp32 - 如需使用针对 GNU Make 传统构建系统的 Eclipse IDE 开发环境,请前往 :doc:`快速入门(传统 GNU Make)`,查看 :doc:`Eclipse IDE 的创建和烧录指南(传统 GNU Make)`。 \ No newline at end of file + 如需使用针对 GNU Make 传统构建系统的 Eclipse IDE 开发环境,请前往 :doc:`快速入门(传统 GNU Make)`,查看 :doc:`Eclipse IDE 的创建和烧录指南(传统 GNU Make)`。 diff --git a/docs/zh_CN/get-started/establish-serial-connection.rst b/docs/zh_CN/get-started/establish-serial-connection.rst index 8470fb236e..103881b61a 100644 --- a/docs/zh_CN/get-started/establish-serial-connection.rst +++ b/docs/zh_CN/get-started/establish-serial-connection.rst @@ -78,7 +78,6 @@ macOS:: 现在,请使用串口终端程序,查看重置 {IDF_TARGET_NAME} 后终端上是否有输出,从而验证串口连接是否可用。 - Windows 和 Linux 操作系统 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -103,12 +102,10 @@ Windows 和 Linux 操作系统 然后,请检查 {IDF_TARGET_NAME} 是否有打印日志。如有,请在终端打开串口进行查看。这里的日志内容取决于加载到 {IDF_TARGET_NAME} 的应用程序,请参考 `输出示例`_。 - .. 注解:: 请在验证完串口通信正常后,关闭串口终端。如果您让终端一直保持打开的状态,之后上传固件时将无法访问串口。 - macOS 操作系统 ^^^^^^^^^^^^^^^^^ @@ -134,13 +131,11 @@ macOS 提供了 **屏幕** 命令,因此您不用安装串口终端程序。 请在验证完串口通信正常后,关闭 **屏幕** 会话。如果直接关闭终端窗口而没有关闭 **屏幕**,之后上传固件时将无法访问串口。 - 输出示例 ^^^^^^^^^^^ 以下是 {IDF_TARGET_NAME} 的一个日志示例。如果没看到任何输出,请尝试重置开发板。 - .. highlight:: none :: @@ -170,9 +165,6 @@ macOS 提供了 **屏幕** 命令,因此您不用安装串口终端程序。 在某些串口接线方式下,在 {IDF_TARGET_NAME} 启动并开始打印串口日志前,需要在终端程序中禁用串口 RTS & DTR 管脚。该问题仅存在于将 RTS & DTR 管脚直接连接到 EN & GPIO0 管脚上的情况,绝大多数开发板(包括乐鑫所有的开发板)都没有这个问题。更多详细信息,请参考 `esptool 文档`_。 - 如您在安装 {IDF_TARGET_NAME} 硬件开发的软件环境时,从 :ref:`get-started-connect` 跳转到了这里,请从 :ref:`get-started-configure` 继续阅读。 - .. _esptool 文档: https://github.com/espressif/esptool/wiki/ESP32-Boot-Mode-Selection#automatic-bootloader - diff --git a/docs/zh_CN/get-started/index.rst b/docs/zh_CN/get-started/index.rst index 24c4909ed2..685b5c8c9a 100644 --- a/docs/zh_CN/get-started/index.rst +++ b/docs/zh_CN/get-started/index.rst @@ -19,9 +19,9 @@ 概述 ============ -.. only:: esp32 +{IDF_TARGET_NAME} SoC 芯片支持以下功能: - ESP32 SoC 芯片支持以下功能: +.. only:: esp32 * 2.4 GHz Wi-Fi * 蓝牙 @@ -31,8 +31,6 @@ .. only:: esp32s2 - ESP32-S2 SoC 芯片支持以下功能: - * 2.4 GHz Wi-Fi * 高性能 Xtensa® 32 位 LX7 单核处理器 * 运行 RISC-V 或 FSM 内核的超低功耗协处理器 @@ -42,8 +40,6 @@ .. only:: esp32c3 - ESP32-C3 SoC 芯片支持以下功能: - * 2.4 GHz Wi-Fi * 低能耗蓝牙 * 高性能 32 位 RISC-V 单核处理器 @@ -230,14 +226,14 @@ Windows 操作系统 .. code-block:: batch cd %userprofile%\esp\esp-idf - install.bat + install.bat {IDF_TARGET_PATH_NAME} 或使用 Windows PowerShell .. code-block:: powershell cd ~/esp/esp-idf - ./install.ps1 + ./install.ps1 {IDF_TARGET_PATH_NAME} Linux 和 macOS 操作系统 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -245,7 +241,18 @@ Linux 和 macOS 操作系统 .. code-block:: bash cd ~/esp/esp-idf - ./install.sh + ./install.sh {IDF_TARGET_PATH_NAME} + +或使用 Fish shell + +.. code-block:: fish + + cd ~/esp/esp-idf + ./install.fish {IDF_TARGET_PATH_NAME} + +.. note:: + 通过一次性指定多个目标,可为多个目标芯片同时安装工具,如运行 ``./install.sh esp32,esp32c3,esp32s3``。 + 通过运行 ``./install.sh`` 或 ``./install.sh all`` 可一次性为所有支持的目标芯片安装工具。 下载工具备选方案 ~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -330,7 +337,7 @@ Linux 和 macOS 操作系统 如果您需要经常运行 ESP-IDF,您可以为执行 ``export.sh`` 创建一个别名,具体步骤如下: 1. 复制并粘贴以下命令到 shell 配置文件中(``.profile``, ``.bashrc``, ``.zprofile`` 等) - + .. code-block:: bash alias get_idf='. $HOME/esp/esp-idf/export.sh' @@ -372,8 +379,6 @@ ESP-IDF 的 :idf:`examples` 目录下有一系列示例工程,都可以按照 ESP-IDF 编译系统不支持带有空格的路径。 - - .. _get-started-connect: 第六步:连接设备 @@ -444,7 +449,6 @@ Windows 操作系统 .. _get-started-build: - 第八步:编译工程 ========================= @@ -644,7 +648,7 @@ Windows 操作系统 Leaving... Hard resetting via RTS pin... - Done + Done 如果一切顺利,烧录完成后,开发板将会复位,应用程序 "hello_world" 开始运行。 @@ -750,4 +754,4 @@ Windows 操作系统 :esp32: ../get-started-legacy/index .. _Stable version: https://docs.espressif.com/projects/esp-idf/zh_CN/stable/ -.. _Releases page: https://github.com/espressif/esp-idf/releases \ No newline at end of file +.. _Releases page: https://github.com/espressif/esp-idf/releases diff --git a/docs/zh_CN/get-started/linux-setup-scratch.rst b/docs/zh_CN/get-started/linux-setup-scratch.rst index 620b745932..3fde6a95e3 100644 --- a/docs/zh_CN/get-started/linux-setup-scratch.rst +++ b/docs/zh_CN/get-started/linux-setup-scratch.rst @@ -105,7 +105,6 @@ Python 2 已经 `结束生命周期 `_,ESP-IDF 很快将不再支持 Python 2。请安装 Python 3.6 或以上版本。可参考上面列出的目前主流 Linux 发行版的安装说明。 - 后续步骤 ========== diff --git a/docs/zh_CN/get-started/linux-setup.rst b/docs/zh_CN/get-started/linux-setup.rst index 656ca5d1ed..32f94e1d41 100644 --- a/docs/zh_CN/get-started/linux-setup.rst +++ b/docs/zh_CN/get-started/linux-setup.rst @@ -35,7 +35,7 @@ Linux 平台工具链的标准设置 使用某些 Linux 版本向 {IDF_TARGET_NAME} 烧录固件时,可能会出现 ``Failed to open port /dev/ttyUSB0`` 错误消息。此时可以将用户添加至 :ref:`Linux Dialout 组`。 -修复 Ubuntu 16.04 损坏的 pip +修复 Ubuntu 16.04 损坏的 pip ================================= ``python3-pip`` 包可能已损坏无法升级。需使用脚本 `get-pip.py `_ 手动删除并安装该包:: @@ -43,7 +43,7 @@ Linux 平台工具链的标准设置 apt remove python3-pip python3-virtualenv; rm -r ~/.local rm -r ~/.espressif/python_env && python get-pip.py -停用 Python 2 +停用 Python 2 ==================== Python 2 已经 `结束生命周期 `_,ESP-IDF 很快将不再支持 Python 2。请安装 Python 3.6 或以上版本。可参考上面列出的目前主流 Linux 发行版的安装说明。 @@ -54,5 +54,4 @@ Python 2 已经 `结束生命周期 `_,ESP-IDF 很快将不再支持 Python 2。请安装 Python 3.6 或以上版本。可参考上面列出的 macOS 安装说明。 - 后续步骤 ========== 请前往 :ref:`get-started-get-esp-idf` 章节继续设置开发环境。 - diff --git a/docs/zh_CN/get-started/macos-setup.rst b/docs/zh_CN/get-started/macos-setup.rst index 1348386758..9c7cf41017 100644 --- a/docs/zh_CN/get-started/macos-setup.rst +++ b/docs/zh_CN/get-started/macos-setup.rst @@ -27,7 +27,7 @@ ESP-IDF 将使用 macOS 上默认安装的 Python 版本。 - 强烈建议同时安装 ccache_ 以获得更快的编译速度。如有 HomeBrew_,可通过 MacPorts_ 上的 ``brew install ccache`` 或 ``sudo port install ccache`` 完成安装。 -.. note:: +.. note:: 如您在上述任何步骤中遇到以下错误:: ``xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at:/Library/Developer/CommandLineTools/usr/bin/xcrun`` @@ -57,7 +57,7 @@ ESP-IDF 将使用 macOS 上默认安装的 Python 版本。 sudo port install python38 -停用 Python 2 +停用 Python 2 ==================== Python 2 已经 `结束生命周期 `_,ESP-IDF 很快将不再支持 Python 2。请安装 Python 3.6 或以上版本。可参考上面列出的 macOS 安装说明。 @@ -75,4 +75,3 @@ Python 2 已经 `结束生命周期 `_ 或是 `github `__ 上提出您的问题,我们开发团队会对问题进行解答。 -我们也欢迎您提出新的功能需求,正是由于用户要求新功能或是建议对现有功能进行改善,才成就我们今天所具备的大多数功能。欢迎您在 `github `__ 上提出功能请求。 \ No newline at end of file +我们也欢迎您提出新的功能需求,正是由于用户要求新功能或是建议对现有功能进行改善,才成就我们今天所具备的大多数功能。欢迎您在 `github `__ 上提出功能请求。 diff --git a/docs/zh_CN/get-started/windows-setup-scratch.rst b/docs/zh_CN/get-started/windows-setup-scratch.rst index b54e46366f..c368cdb9a8 100644 --- a/docs/zh_CN/get-started/windows-setup-scratch.rst +++ b/docs/zh_CN/get-started/windows-setup-scratch.rst @@ -72,7 +72,6 @@ Python 安装完成后,从 Windows 开始菜单中打开“命令提示符” pip install --user pyserial - 工具链设置 =============== @@ -115,4 +114,4 @@ Python 安装完成后,从 Windows 开始菜单中打开“命令提示符” .. _kconfig-frontends releases page: https://github.com/espressif/kconfig-frontends/releases .. Note: These two targets may be used from git-clone-notes.inc depending on version, don't remove .. _Stable version: https://docs.espressif.com/projects/esp-idf/zh_CN/stable/ -.. _Releases page: https://github.com/espressif/esp-idf/releases \ No newline at end of file +.. _Releases page: https://github.com/espressif/esp-idf/releases diff --git a/docs/zh_CN/get-started/windows-setup-update.rst b/docs/zh_CN/get-started/windows-setup-update.rst index f51edafba0..6fb0281e98 100644 --- a/docs/zh_CN/get-started/windows-setup-update.rst +++ b/docs/zh_CN/get-started/windows-setup-update.rst @@ -39,4 +39,4 @@ ESP-IDF 工具安装器将在“开始菜单”为 “ESP-IDF 命令提示符” cd ~/esp/esp-idf export.ps1 -运行完成后,您就可以通过命令提示符使用 ESP-IDF 工具了。 \ No newline at end of file +运行完成后,您就可以通过命令提示符使用 ESP-IDF 工具了。 diff --git a/docs/zh_CN/get-started/windows-setup.rst b/docs/zh_CN/get-started/windows-setup.rst index bb6cb998f5..9fafb2d446 100644 --- a/docs/zh_CN/get-started/windows-setup.rst +++ b/docs/zh_CN/get-started/windows-setup.rst @@ -28,7 +28,6 @@ ESP-IDF 需要安装一些必备工具,才能围绕 {IDF_TARGET_NAME} 构建 .. _get-started-windows-tools-installer: - ESP-IDF 工具安装器 ======================= @@ -119,7 +118,6 @@ ESP-IDF 工具安装器可在“开始”菜单中,创建一个打开 ESP-IDF windows-setup-update - .. _MSYS2: https://www.msys2.org/ .. _CMake: https://cmake.org/download/ .. _Ninja: https://ninja-build.org/