docs: Add a note in CN translations

This commit is contained in:
shenmengjing 2024-06-28 10:42:35 +08:00
parent 92b42310b1
commit 3ab055992a
4 changed files with 11 additions and 2 deletions

View File

@ -103,7 +103,7 @@ To access the ULP LP-Core program variables from the main program, the generated
.. note::
Variables declared in the global scope of the LP-Core program reside in either the ``.bss`` or ``.data`` section of the binary. These sections are initialized when the LP-Core binary is loaded and executed. Accessing these variables from the main program on the HP-Core before the first LP-Core run may result in undefined behavior.
Variables declared in the global scope of the LP-Core program reside in either the ``.bss`` or ``.data`` section of the binary. These sections are initialized when the LP-Core binary is loaded and executed. Accessing these variables from the main program on the HP-Core before the first LP-Core run may result in undefined behavior.
Starting the ULP LP-Core Program

View File

@ -105,7 +105,7 @@ To access the ULP RISC-V program variables from the main program, the generated
.. note::
Variables declared in the global scope of the ULP RISC-V program reside in either the ``.bss`` or ``.data`` section of the binary. These sections are initialized when the ULP RISC-V binary is loaded and executed. Accessing these variables from the main program on the main CPU before the first ULP RISC-V run may result in undefined behavior.
Variables declared in the global scope of the ULP RISC-V program reside in either the ``.bss`` or ``.data`` section of the binary. These sections are initialized when the ULP RISC-V binary is loaded and executed. Accessing these variables from the main program on the main CPU before the first ULP RISC-V run may result in undefined behavior.
Mutual Exclusion

View File

@ -101,6 +101,10 @@ ULP LP-Core 代码会与 ESP-IDF 项目共同编译,生成一个单独的二
ulp_measurement_count = 64;
}
.. note::
LP-Core 程序全局变量存储在二进制文件的 ``.bss`` 或者 ``.data`` 部分。这些部分在加载和执行 LP-Core 二进制文件时被初始化。在首次运行 LP-Core 之前,从 HP-Core 主程序访问这些变量可能会导致未定义行为。
启动 ULP LP-Core 程序
--------------------------------

View File

@ -103,6 +103,11 @@ ULP RISC-V 协处理器代码以 C 语言(或汇编语言)编写,使用基
ulp_measurement_count = 64;
}
.. note::
ULP RISC-V 程序全局变量存储在二进制文件的 ``.bss`` 或者 ``.data`` 部分。这些部分在加载和执行 ULP RISC-V 二进制文件时被初始化。在首次运行 ULP RISC-V 之前,从主 CPU 上的主程序访问这些变量可能会导致未定义行为。
互斥
^^^^^^^