This repository has been archived on 2024-05-29. You can view files and clone it, but cannot push or open issues/pull-requests.
ndg/lib/lvgl/demos/stress
alex 072a4a96a7 lib: add lvgl v8.3.1 as a subtree module
git subtree add --prefix=lib/lvgl --squash \
        https://github.com/lvgl/lvgl v8.3.1
2022-09-16 11:37:38 +02:00
..
README.md lib: add lvgl v8.3.1 as a subtree module 2022-09-16 11:37:38 +02:00
lv_demo_stress.c lib: add lvgl v8.3.1 as a subtree module 2022-09-16 11:37:38 +02:00
lv_demo_stress.h lib: add lvgl v8.3.1 as a subtree module 2022-09-16 11:37:38 +02:00
screenshot1.gif lib: add lvgl v8.3.1 as a subtree module 2022-09-16 11:37:38 +02:00
screenshot1.png lib: add lvgl v8.3.1 as a subtree module 2022-09-16 11:37:38 +02:00

README.md

Stress demo

Overview

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.

Stress demo with LVGL embedded GUI library

Run the demo

  • In lv_conf.h or equivalent places set LV_USE_DEMO_STRESS 1
  • In lv_conf.h enable all the widgets (LV_USE_BTN 1) and the animations (LV_USE_ANIMATION 1)
  • After lv_init() and initializing the drivers call lv_demo_stress()