docs: Update CN translation for system

This commit is contained in:
Zhang Shuxian
2025-08-28 16:44:52 +08:00
parent a4e06f0792
commit f8e0b79867
4 changed files with 8 additions and 4 deletions

View File

@@ -41,7 +41,7 @@ Using of this feature depends on two components:
1. **Host side:** Application tracing is done over JTAG, so it needs OpenOCD to be set up and running on host machine. For instructions on how to set it up, please see :doc:`JTAG Debugging <../api-guides/jtag-debugging/index>` for details.
2. **Target side:** Application tracing functionality can be enabled in menuconfig. Please go to ``Component config`` > ``Application Level Tracing`` menu, which allows selecting destination for the trace data (hardware interface for transport: JTAG or/and UART). Choosing any of the destinations automatically enables the ``CONFIG_APPTRACE_ENABLE`` option. For UART interfaces, users have to define, port number, baud rate, TX and RX pins numbers, and additional UART-related parameters.
2. **Target side:** Application tracing functionality can be enabled in menuconfig. Please go to ``Component config`` > ``Application Level Tracing`` menu, which allows selecting destination for the trace data (hardware interface for transport: JTAG or/and UART). Choosing any of the destinations automatically enables the ``CONFIG_APPTRACE_ENABLE`` option. For UART interfaces, users have to define port number, baud rate, TX and RX pins numbers, and additional UART-related parameters.
.. note::

View File

@@ -89,6 +89,7 @@ The UART destination configuration has been simplified:
To migrate, update your sdkconfig:
Old configuration:
.. code-block:: none
CONFIG_APPTRACE_DEST_UART0=y
@@ -96,6 +97,7 @@ Old configuration:
CONFIG_APPTRACE_DEST_UART1=y
New configuration:
.. code-block:: none
CONFIG_APPTRACE_DEST_UART=y

View File

@@ -41,7 +41,7 @@ ESP-IDF 中提供了应用层跟踪功能,用于分析应用程序的行为。
1. **主机端:** 应用程序跟踪通过 JTAG 来完成,因此需要在主机上安装并运行 OpenOCD。详细信息请参阅 :doc:`JTAG 调试 <../api-guides/jtag-debugging/index>`
2. **目标端:** 在 menuconfig 中开启应用程序跟踪功能。前往 ``Component config`` > ``Application Level Tracing`` 菜单选择跟踪数据的传输目标具体用于传输的硬件接口JTAG 和/或 UART选择任一非 None 的目标都会自动开启 ``CONFIG_APPTRACE_ENABLE`` 这个选项。对于 UART 接口,用户必须定义波特率、TX 和 RX 管脚及其他相关参数。
2. **目标端:** 在 menuconfig 中开启应用程序跟踪功能。前往 ``Component config`` > ``Application Level Tracing`` 菜单选择跟踪数据的传输目标具体用于传输的硬件接口JTAG 和/或 UART选择任一非 None 的目标都会自动开启 ``CONFIG_APPTRACE_ENABLE`` 这个选项。对于 UART 接口,用户需要定义端口号、波特率、TX 和 RX 管脚及其他相关参数。
.. note::

View File

@@ -86,9 +86,10 @@ UART 目标配置已简化:
- 移除:通过 ``CONFIG_APPTRACE_DEST_UARTx=y`` 选择单个 UART
- 新增:通过 ``CONFIG_APPTRACE_DEST_UART_NUM`` 选择 UART 端口
迁移方法,更新的 sdkconfig
迁移方法,更新的 sdkconfig 配置
旧配置:
.. code-block:: none
CONFIG_APPTRACE_DEST_UART0=y
@@ -96,10 +97,11 @@ UART 目标配置已简化:
CONFIG_APPTRACE_DEST_UART1=y
新配置:
.. code-block:: none
CONFIG_APPTRACE_DEST_UART=y
CONFIG_APPTRACE_DEST_UART_NUM=0 # 根据目标设备可选择 0、1、2
CONFIG_APPTRACE_DEST_UART_NUM=0 # 或 1、2具体取决于目标芯片
FreeRTOS
--------