Skip to content

Commit 9f0cd90

Browse files
authored
docs: Provide CN translation for two docs (#1352)
1 parent 222cf77 commit 9f0cd90

File tree

4 files changed

+54
-16
lines changed

4 files changed

+54
-16
lines changed
Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
11
.. _coredumpdebugging:
22

33
Core Dump Debugging
4-
====================
4+
===================
55

6-
The IDF-Eclipse plugin allows you to debug the core dump if any crash occurs on the chip and the configurations are set. Currently, only the UART core dump capture and debugging is supported.
6+
:link_to_translation:`zh_CN:[中文]`
77

8-
To enable core dump debugging for a project:
8+
The IDF-Eclipse plugin allows you to debug the core dump if any crash occurs on the chip, provided that the required configurations are set. Currently, only UART core dump capture and debugging are supported.
99

10-
1. You need to enable it first in `sdkconfig`. Launch the `sdkconfig` in the project root by double-clicking on it which will open the configuration editor.
10+
To enable core dump debugging for a project:
1111

12-
2. Click on the `Core Dump` from the settings on the left and select `Data Destination` as `UART`.
12+
1. You need to enable it first in ``sdkconfig``. Launch the ``sdkconfig`` in the project root by double-clicking on it which will open the configuration editor.
13+
2. Click on the ``Core Dump`` from the settings on the left and select ``Data Destination`` as ``UART``.
1314

1415
.. image:: ../../../media/CoreDumpDebugging/sdkconfig_editor.png
1516

16-
This will enable the core dump debugging, and whenever you connect a serial monitor for that project, if any crash occurs, it will load the dump and open a debug perspective in Eclipse to let you diagnose the dump where you can view all the information in the core dump.
17+
This enables core dump debugging. When you connect a serial monitor for the project and a crash occurs, Eclipse automatically loads the core dump and opens the debug perspective, allowing you to inspect all the information contained in the dump.
1718

18-
You can view the registers stack trace and even view the value of variables in the stack frame.
19+
You can view the registers and stack trace, and even check the value of variables in the stack frame.
1920

20-
To exit the debug session: simply press the `stop` button.
21+
To exit the debug session: simply press the ``stop`` button.
Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
Install ESP-IDF Components
2-
===============================
2+
==========================
3+
4+
:link_to_translation:`zh_CN:[中文]`
5+
36
You can install the ESP-IDF Components directly into your project from the available components from the `ESP-IDF Component Registry <https://components.espressif.com/>`_. Follow the steps below:
47

5-
- Right-click on the project in ``Project Explorer`` where you want to add the component, and select ``ESP-IDF > Install ESP-IDF Components``.
6-
- A new window will open, displaying all available components to be installed.
7-
- In the window, you can click on the ``Install`` button to add the selected component to the project. To access the README file for a component, click ``More Info``, which opens the README in your browser.
8+
1. Right-click on the project in ``Project Explorer`` where you want to add the component, and select ``ESP-IDF: Install ESP-IDF Components``.
9+
2. A new window will open, displaying all available components to be installed.
10+
3. In the window, you can click on the ``Install`` button to add the selected component to the project. To access the README file for a component, click ``More Info``, which opens the README in your browser.
811

9-
.. image:: ../../../media/ESP-IDF_Components/components_window.png
10-
:alt: ESP-IDF Components Window
12+
.. image:: ../../../media/ESP-IDF_Components/components_window.png
13+
:alt: ESP-IDF Components Window
1114

1215
Already added components are also shown, but the ``Install`` button text changes to ``Already Added`` and is disabled.
Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,21 @@
1-
.. include:: ../../en/additionalfeatures/coredumpdebugging.rst
1+
.. _coredumpdebugging:
2+
3+
核心转储调试
4+
============
5+
6+
:link_to_translation:`en:[English]`
7+
8+
IDF-Eclipse 插件允许在芯片发生崩溃且已完成相关配置时调试核心转储。目前,仅支持通过 UART 捕获和调试核心转储。
9+
10+
可参照以下步骤为项目启用核心转储调试:
11+
12+
1. 先在 ``sdkconfig`` 中启用该功能。在项目根目录中双击 ``sdkconfig``,打开配置编辑器。
13+
2. 在左侧设置中点击 ``Core Dump``,并将 ``Data Destination`` 设置为 ``UART``。
14+
15+
.. image:: ../../../media/CoreDumpDebugging/sdkconfig_editor.png
16+
17+
上述步骤将启用核心转储调试。为项目连接串口监视器时,如发生崩溃,则将加载转储并在 Eclipse 中打开调试透视图,以便查看核心转储包含的所有信息。
18+
19+
你可以查看寄存器、栈回溯,甚至查看栈帧中的变量值。
20+
21+
若想退出调试会话,只需点击 ``stop`` 按钮。
Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,15 @@
1-
.. include:: ../../en/additionalfeatures/install-esp-components.rst
1+
安装 ESP-IDF 组件
2+
=================
3+
4+
:link_to_translation:`en:[English]`
5+
6+
可以从 `ESP-IDF 组件注册表 <https://components.espressif.com/>`_ 提供的可用组件中,选择 ESP-IDF 组件安装至你的项目。请按照以下步骤操作:
7+
8+
1. 在 ``Project Explorer`` 中,右键点击要添加组件的项目,然后选择 ``ESP-IDF: Install ESP-IDF Components``。
9+
2. 界面中出现一个新窗口,显示所有可安装的组件。
10+
3. 在该窗口中,可点击 ``Install`` 按钮将所选组件添加到项目。要查看组件的 README 文件,点击 ``More Info``,浏览器会打开该 README。
11+
12+
.. image:: ../../../media/ESP-IDF_Components/components_window.png
13+
:alt: ESP-IDF 组件窗口
14+
15+
已添加的组件也会在此显示,但 ``Install`` 按钮的文字会变为 ``Already Added`` 并被禁用。

0 commit comments

Comments
 (0)