zephyr/samples/modules/lvgl/multi_display
Abderrahmane JARMOUNI d2f857f000 samples: lvgl: multi_display: fix typo in sample yaml
fix typo that prevents sample from being built in CI

Signed-off-by: Abderrahmane JARMOUNI <git@jarmouni.me>
2025-05-27 17:56:02 +02:00
..
boards samples: lvgl: multi_display: add SDL Window titles 2025-05-19 16:36:12 +02:00
src
app.overlay
CMakeLists.txt
Kconfig
prj.conf
README.rst
sample.yaml samples: lvgl: multi_display: fix typo in sample yaml 2025-05-27 17:56:02 +02:00

.. zephyr:code-sample:: lvgl-multi-display
   :name: LVGL Multi-display
   :relevant-api: display_interface

   Run different LVGL demos on multiple displays.

Overview
********

A sample showcasing LVGL multi-display support in Zephyr.

By default, it runs the Music demo on the first display, and the Widgets demo on the other ones
(order as defined in the "displays" property of "zephyr,displays" compatible node in deviceTree).
Which demos are run can be changed by modifying the value of CONFIG_LV_Z_DEMO_FIRST_DISP## and
CONFIG_LV_Z_DEMO_OTHER_DISPS## Kconfig symbols.

* Music
      The music player demo shows what kind of modern, smartphone-like user interfaces can be
      created on LVGL.
* Benchmark
      The benchmark demo tests the performance in various cases. For example rectangle, border,
      shadow, text, image blending, image transformation, blending modes, etc.
* Stress
      A stress test for LVGL. It contains a lot of object creation, deletion, animations, styles
      usage, and so on. It can be used if there is any memory corruption during heavy usage or any
      memory leaks.
* Widgets
      Shows how the widgets look like out of the box using the built-in material theme.

More details on the demos can be found in `LVGL demos Readme`_.

Requirements
************

* A board with two displays or more, ideally with 480x272 resolution or higher.

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

This sample can be built for simulated display environment on Linux as follows:

.. zephyr-app-commands::
   :zephyr-app: samples/modules/lvgl/multi_display
   :host-os: unix
   :board: native_sim/native/64
   :goals: run
   :compact:

References
**********

.. target-notes::

.. _LVGL demos Readme: https://github.com/zephyrproject-rtos/lvgl/blob/zephyr/demos/README.md