Skip to content

Commit 3a363c6

Browse files
committed
docs: Provide CN translation for two docs
1 parent 3ae9b40 commit 3a363c6

File tree

4 files changed

+42
-135
lines changed

4 files changed

+42
-135
lines changed

docs/en/debugproject.rst

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
11
Debug Your Project
2-
===============================
2+
==================
3+
4+
:link_to_translation:`zh_CN:[中文]`
35

46
.. |debug_icon| image:: ../../media/icons/debug.png
57
:height: 16px
68
:align: middle
79

810
In most cases, only two things are required to start debugging an ESP-IDF project:
911

10-
1. Create a debug configuration
11-
2. Check whether the board in the created configuration corresponds to the board in use.
12+
1. Create a debug configuration.
13+
2. Check whether the board specified in the created configuration matches the board you are using.
14+
15+
.. note::
1216

13-
.. note::
1417
If you're using Windows, you may need to install drivers using Zadig to run a debug session successfully. For detailed instructions, please refer to this `guide <https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/jtag-debugging/configure-ft2232h-jtag.html#configure-usb-drivers>`_.
1518

1619
The fastest way to create a debug configuration is as follows:

docs/en/windowsofflineinstaller.rst

Lines changed: 0 additions & 129 deletions
This file was deleted.

docs/zh_CN/debugproject.rst

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,35 @@
1-
.. include:: ../en/debugproject.rst
1+
调试项目
2+
========
3+
4+
:link_to_translation:`en:[English]`
5+
6+
.. |debug_icon| image:: ../../media/icons/debug.png
7+
:height: 16px
8+
:align: middle
9+
10+
在大多数情况下,开始调试 ESP-IDF 项目前只需要完成以下两步:
11+
12+
1. 创建调试配置。
13+
2. 检查已创建配置中指定的开发板是否与实际使用的开发板一致。
14+
15+
.. note::
16+
17+
如果使用 Windows 操作系统,可能需要通过 Zadig 安装驱动程序,才能成功运行调试会话。有关详细说明,请参考此 `指南 <https://docs.espressif.com/projects/esp-idf/zh_CN/latest/esp32/api-guides/jtag-debugging/configure-ft2232h-jtag.html#usb>`_。
18+
19+
创建调试配置的最快方式如下:
20+
21+
1. 在启动栏中展开配置列表并点击 ``New Launch Configuration...``。
22+
2. 选择 ``ESP-IDF GDB OpenOCD Debugging``,然后双击该选项或点击 ``Next``。
23+
3. 上述选项会打开新的调试配置预览界面,用于查看开发板设置。
24+
25+
创建调试配置后,即可继续调试该项目:
26+
27+
1. 选择刚才创建的配置。
28+
2. 选择 ``Debug`` 模式。
29+
3. 点击 ``Debug`` 图标 |debug_icon| 以开始调试。
30+
31+
32+
.. image:: https://github.com/espressif/idf-eclipse-plugin/assets/24419842/1fb0fb9b-a02a-4ed1-bdba-b4b4d36d100f
33+
:alt: 调试过程
34+
35+
要了解更多有关调试配置的内容,请参阅 :ref:`ESP-IDF OpenOCD 调试 <OpenOCDDebugging>`。

docs/zh_CN/windowsofflineinstaller.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)