samples: arch: use zephyr:code-sample directive

Adds missing code-sample directive to all the arch samples 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-09-11 18:02:47 +02:00 committed by Mahesh Mahadevan
parent c53e8e7086
commit f4717acd99
3 changed files with 9 additions and 9 deletions

View file

@ -1,7 +1,7 @@
.. _mpu_test:
.. zephyr:code-sample:: mpu
:name: Memory Protection Unit (MPU)
Memory Protection Unit (MPU) Sample
###################################
Use memory protection to prevent common security issues.
Overview
********

View file

@ -1,7 +1,7 @@
.. _smp_pi:
.. zephyr:code-sample:: smp_pi
:name: SMP Pi
SMP Pi
###########
Calculate the first 240 digits of Pi on multiple execution units.
Overview
********

View file

@ -1,7 +1,7 @@
.. _smp_pktqueue:
.. zephyr:code-sample:: smp_pktqueue
:name: SMP pktqueue
SMP pktqueue
############
Use SMP to process multiple packet headers in parallel.
Overview
********