1.. zephyr:code-sample:: lz4 2 :name: LZ4 3 4 Compress and decompress data using the LZ4 module. 5 6Overview 7******** 8 9A simple sample that can be used with any :ref:`supported board <boards>` and 10compress & decompress the user data to the console. 11 12Building and Running 13******************** 14 15Add the lz4 module to your West manifest and pull it: 16 17.. code-block:: console 18 19 west config manifest.project-filter -- +lz4 20 west update 21 22The sample can be built and executed on nrf52840dk/nrf52840 as follows: 23 24.. zephyr-app-commands:: 25 :zephyr-app: samples/modules/compression/lz4 26 :board: nrf52840dk/nrf52840 27 :goals: build flash 28 :compact: 29 30To build for another board, change "nrf52840dk/nrf52840" above to that board's name. 31