zephyr/samples/modules/compression/lz4
Benjamin Cabé 25fa25a5a9 doc: :zephyr-app: should point to existing in-tree folders
As there is no check (yet!) in the directive, many
.. zephyr-app-commands:: in the documentation are pointing to
non-existing sample applications, which is problematic for users who
typically expect to just copy-paste the commands and have them work.

This commit fixes all offending references to point to existing samples,
or converts them to simple ":app:" instead of ":zephyr-app:" when the
intent wasn't to refer to in-tree samples.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-09-09 13:53:47 -04:00
..
src
CMakeLists.txt
README.rst doc: :zephyr-app: should point to existing in-tree folders 2024-09-09 13:53:47 -04:00
prj.conf
sample.yaml

README.rst

.. zephyr:code-sample:: lz4
   :name: LZ4

   Compress and decompress data using the LZ4 module.

Overview
********

A simple sample that can be used with any :ref:`supported board <boards>` and
compress & decompress the user data to the console.

Building and Running
********************

Add the lz4 module to your West manifest and pull it:

.. code-block:: console

    west config manifest.project-filter -- +lz4
    west update

The sample can be built and executed on nrf52840dk/nrf52840 as follows:

.. zephyr-app-commands::
   :zephyr-app: samples/modules/compression/lz4
   :board: nrf52840dk/nrf52840
   :goals: build flash
   :compact:

To build for another board, change "nrf52840dk/nrf52840" above to that board's name.