From 57e3877ac76005cfbfb36e6bb23b7a1e799d09e5 Mon Sep 17 00:00:00 2001 From: Paulo Santos Date: Wed, 14 Aug 2024 11:06:56 -0300 Subject: [PATCH] doc: kernel: iterable_sections: fix documentation typo The docs for the iterable sections has a minor typo when describing how to add the structs to the linker, repeating 'place the' twice. Signed-off-by: Paulo Santos --- doc/kernel/iterable_sections/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/kernel/iterable_sections/index.rst b/doc/kernel/iterable_sections/index.rst index 330e46b63d2..46ef4a3b68c 100644 --- a/doc/kernel/iterable_sections/index.rst +++ b/doc/kernel/iterable_sections/index.rst @@ -32,7 +32,7 @@ instantiated anywhere in the code base. DEFINE_DATA(d2, 3, 4); DEFINE_DATA(d3, 5, 6); -Then the linker has to be setup to place the place the structure in a +Then the linker has to be setup to place the structure in a contiguous segment using one of the linker macros such as :c:macro:`ITERABLE_SECTION_RAM` or :c:macro:`ITERABLE_SECTION_ROM`. Custom linker snippets are normally declared using one of the