samples: application_development: use zephyr:code-sample directive

Describe the samples using code-sample directive in preparation for
upcoming changes to the Zephyr documentation that will be leveraging
the provided description and metadata.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
This commit is contained in:
Benjamin Cabé 2024-08-23 18:44:19 +02:00 committed by Anas Nashif
commit 9902eec01b
3 changed files with 7 additions and 8 deletions

View file

@ -161,5 +161,4 @@ This test shows how the code relocation feature is used.
This test will place .text, .data, .bss from 3 files to various parts in the SRAM This test will place .text, .data, .bss from 3 files to various parts in the SRAM
using a custom linker file derived from ``include/zephyr/arch/arm/cortex_m/scripts/linker.ld`` using a custom linker file derived from ``include/zephyr/arch/arm/cortex_m/scripts/linker.ld``
A sample showcasing the NOCOPY flag is provided at A sample showcasing the NOCOPY flag is provided here: :zephyr:code-sample:`code_relocation_nocopy`.
``$ZEPHYR_BASE/samples/application_development/code_relocation_nocopy/``

View file

@ -1,7 +1,7 @@
.. _code_relocation_nocopy: .. zephyr:code-sample:: code_relocation_nocopy
:name: Code relocation nocopy
Code relocation nocopy Relocate code, data, or bss sections using a custom linker script.
######################
Overview Overview
******** ********

View file

@ -1,7 +1,7 @@
.. _external_library: .. zephyr:code-sample:: external_library
:name: External Library
External Library Include an external static library into the Zephyr build system.
#################
Overview Overview
******** ********