You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
544 B
Markdown
14 lines
544 B
Markdown
2 years ago
|
# 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.
|
||
|
|
||
|

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