chore(docs): update faq
This commit is contained in:
committed by
GitHub
parent
a4c235a93e
commit
244ca091c4
@@ -148,11 +148,12 @@ Some examples of the supported display types:
|
|||||||
|
|
||||||
See the [Porting](/porting/display) section to learn more.
|
See the [Porting](/porting/display) section to learn more.
|
||||||
|
|
||||||
### LVGL doesn't start, nothing is drawn on the display. What can be the problem?
|
### LVGL doesn't start, randomly crashes or nothing is drawn on the display. What can be the problem?
|
||||||
- Try increasing `LV_MEM_SIZE`.
|
- Try increasing `LV_MEM_SIZE`.
|
||||||
- Be sure `lv_disp_drv_t`, `lv_indev_drv_t` and `lv_fs_drv_t` are global or `static`.
|
- Be sure `lv_disp_drv_t`, `lv_indev_drv_t` and `lv_fs_drv_t` are global or `static`.
|
||||||
- Be sure your display works without LVGL. E.g. paint it to red on start up.
|
- Be sure your display works without LVGL. E.g. paint it to red on start up.
|
||||||
- Enable [logging](porting/log)
|
- Enable [Logging](porting/log)
|
||||||
|
- Enable asserts in `lv_conf.h` (`LV_USE_ASSERT_...`)
|
||||||
- If you use an RTOS
|
- If you use an RTOS
|
||||||
- increase the stack size of the task which calls `lv_timer_handler()`
|
- increase the stack size of the task which calls `lv_timer_handler()`
|
||||||
- Be sure you used a mutex as [described here](/porting/os)
|
- Be sure you used a mutex as [described here](/porting/os)
|
||||||
|
|||||||
Reference in New Issue
Block a user