lvgl/demos/stress
zylalx1 47ec2784d8
chore: update some code and docs to use v9 API (#5876)
Co-authored-by: Neo Xu <neo.xu1990@gmail.com>
2024-04-10 15:17:44 +08:00
..
lv_demo_stress.c chore: update some code and docs to use v9 API (#5876) 2024-04-10 15:17:44 +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()