Merge branch 'docs/update_variables_note' into 'master'

docs: Added a note about how shared variables are initialized in CN translations

Closes DOC-8221

See merge request espressif/esp-idf!31779
This commit is contained in:
Shen Meng Jing
2024-07-03 17:15:20 +08:00
4 changed files with 11 additions and 2 deletions
+1 -1
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
+1 -1
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