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

LittlevGL Basic Sample

Overview

This sample application displays “Hello World” in the center of the screen and a counter at the bottom which increments every second.

Requirements

Display shield and a board which provides a configuration for Arduino connectors, for example:

or a simulated display environment in a native Posix application:

or

or

Building and Running

Example building for nRF52840-PCA10056:

# From the root of the zephyr repository
west build -b nrf52840_pca10056 samples/gui/lvgl -- -DSHIELD=adafruit_2_8_tft_touch_v2
west flash

Example building for Native POSIX execution (native_posix):

# From the root of the zephyr repository
west build -b native_posix samples/gui/lvgl
west flash