2021-12-16 20:49:41 +01:00
# Stress demo
## Overview
2022-03-21 18:25:51 +08:00
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.
2021-12-16 20:49:41 +01:00
2022-07-06 03:06:31 -04:00
![Stress demo with LVGL embedded GUI library ](screenshot1.gif )
2021-12-16 20:49:41 +01:00
## Run the demo
2022-01-20 18:52:52 +00:00
- In `lv_conf.h` or equivalent places set `LV_USE_DEMO_STRESS 1`
2021-12-16 20:49:41 +01:00
- 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()`