The latest development version of this page may be more current than this released 4.0.0 version.

LZ4

Browse source code on GitHub

Overview

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

Building and Running

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

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

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

west build -b nrf52840dk/nrf52840 samples/modules/compression/lz4
west flash

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