Explorar o código

Merge branch 'docs/fix_linker_script_table' into 'master'

docs: fix linker-script-generation figure

See merge request espressif/esp-idf!18240
morris %!s(int64=3) %!d(string=hai) anos
pai
achega
febe329ae5

+ 8 - 9
docs/en/api-guides/linker-script-generation.rst

@@ -24,16 +24,15 @@ This section presents a guide for quickly placing code/data to RAM and RTC memor
 
 For this guide, suppose we have the following::
 
-    component
+    components
     └── my_component
-        └── CMakeLists.txt
-            ├── component.mk
-            ├── Kconfig
-            ├── src/
-            │   ├── my_src1.c
-            │   ├── my_src2.c
-            │   └── my_src3.c
-            └── my_linker_fragment_file.lf
+        ├── CMakeLists.txt
+        ├── Kconfig
+        ├── src/
+        │   ├── my_src1.c
+        │   ├── my_src2.c
+        │   └── my_src3.c
+        └── my_linker_fragment_file.lf
 
 - a component named ``my_component`` that is archived as library ``libmy_component.a`` during build
 - three source files archived under the library, ``my_src1.c``, ``my_src2.c`` and ``my_src3.c`` which are compiled as ``my_src1.o``, ``my_src2.o`` and ``my_src3.o``, respectively

+ 8 - 9
docs/zh_CN/api-guides/linker-script-generation.rst

@@ -24,16 +24,15 @@
 
 假设用户有::
 
-    component
+    components
     └── my_component
-        └── CMakeLists.txt
-            ├── component.mk
-            ├── Kconfig
-            ├── src/
-            │   ├── my_src1.c
-            │   ├── my_src2.c
-            │   └── my_src3.c
-            └── my_linker_fragment_file.lf
+        ├── CMakeLists.txt
+        ├── Kconfig
+        ├── src/
+        │   ├── my_src1.c
+        │   ├── my_src2.c
+        │   └── my_src3.c
+        └── my_linker_fragment_file.lf
 
 - 名为 ``my_component`` 的组件,在构建过程中存储为 ``libmy_component.a`` 库文件
 - 库文件包含的三个源文件:``my_src1.c``、``my_src2.c`` 和 ``my_src3.c``,编译后分别为 ``my_src1.o``、``my_src2.o`` 和 ``my_src3.o``