Skip to content

Commit

Permalink
samples: subsys: use zephyr:code-sample directive
Browse files Browse the repository at this point in the history
Adds missing code-sample directive to the remaining samples in
`samples/subsys` that didn't use it yet 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>
  • Loading branch information
kartben authored and nashif committed Sep 5, 2024
1 parent b23f43c commit 0d25e30
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 17 deletions.
2 changes: 1 addition & 1 deletion doc/services/debugging/debugmon.rst
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@ Using other custom ISR
======================
In order to provide a custom debug monitor interrupt, override ``z_arm_debug_monitor``
symbol. Additionally, manual configuration of some registers is required
(see :ref:`debug monitor sample<debugmon-sample>`).
(see :zephyr:code-sample:`debugmon` sample).
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,4 @@ Swap the MBOX channels, memory regions (``tx-region`` and ``rx-region``), and bl
Samples
=======

* :ref:`ipc_multi_endpoint_sample`
* :zephyr:code-sample:`ipc_multi_endpoint`
6 changes: 3 additions & 3 deletions samples/subsys/dap/README.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _dap-sample:
.. zephyr:code-sample:: cmsis-dap
:name: CMSIS-DAP

DAP Sample Application
######################
Implement a custom CMSIS-DAP controller using SWDP interface driver.

Overview
********
Expand Down
6 changes: 3 additions & 3 deletions samples/subsys/debug/debugmon/README.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _debugmon-sample:
.. zephyr:code-sample:: debugmon
:name: Debug Monitor

Debug monitor
#############
Configure the Debug Monitor feature on a Cortex-M processor.

Overview
********
Expand Down
8 changes: 5 additions & 3 deletions samples/subsys/debug/fuzz/README.rst
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
Fuzzing Example
###############
.. zephyr:code-sample:: fuzzing
:name: Fuzzing

Integrate fuzz testing with Zephyr apps.

Overview
********

This is a simple example of fuzz test integration with Zephyr apps
that displays LLVM libfuzzer's most important feature: it's ability to
that displays LLVM libfuzzer's most important feature: its ability to
detect and explore deep and complicated call trees by exploiting
coverage information gleaned from instrumented binaries.

Expand Down
7 changes: 4 additions & 3 deletions samples/subsys/ipc/ipc_service/multi_endpoint/README.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
.. _ipc_multi_endpoint_sample:
.. zephyr:code-sample:: ipc_multi_endpoint
:name: IPC service: Multi-endpoint
:relevant-api: ipc

IPC Service - Multi-endpoint Sample Application
###############################################
Use the IPC Service with multiple endpoints.

This application demonstrates how to use IPC Service with multiple endpoints.
By default, it uses the ``icmsg_me`` backend.
Expand Down
6 changes: 3 additions & 3 deletions samples/subsys/sip_svc/README.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _sip_svc_sample:
.. zephyr:code-sample:: sip_svc
:name: Arm SiP Services on Intel Agilex SoC FPGA

SiP SVC sample
##############
Use the SiP SVC subsystem to interact with the Secure Device Manager on Intel Agilex SoC FPGA.

Overview
********
Expand Down

0 comments on commit 0d25e30

Please sign in to comment.