mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-02 18:10:57 +02:00
docs: Update CN translation for system
This commit is contained in:
@@ -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::
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -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::
|
||||
|
||||
|
@@ -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
|
||||
--------
|
||||
|
Reference in New Issue
Block a user