lvgl/demos/stress
Neo Xu 5a6f8b7ed2
fix(demo): fix compile warning (#6100)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2024-04-29 10:13:38 +08:00
..
lv_demo_stress.c fix(demo): fix compile warning (#6100) 2024-04-29 10:13:38 +08:00
lv_demo_stress.h feat(obj): add obj_id, class names, and dump support (#4536) 2023-09-25 10:58:36 +02:00
README.md chore(demo): fix the path of picture files in readme (#3451) 2022-07-06 09:06:31 +02:00
screenshot1.gif arch merge lv_demos 2021-12-16 20:49:41 +01:00
screenshot1.png arch merge lv_demos 2021-12-16 20:49:41 +01:00

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()