This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

LZ4

Overview

A simple sample that can be used with any supported board and compress & decompress the user data to the console.

Building and Running

The sample can be built and executed on nrf52840dk_nrf52840 as follows:

west build -b nrf52840dk_nrf52840 samples/compression/lz4
west flash

To build for another board, change “nrf52840dk_nrf52840” above to that board’s name.