From 244ca091c4b0fb4bc51205cceb41c9105b089afd Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Fri, 28 Jan 2022 15:27:16 +0100 Subject: [PATCH] chore(docs): update faq --- docs/intro/index.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/intro/index.md b/docs/intro/index.md index 87b842b2e4..dbad09b725 100644 --- a/docs/intro/index.md +++ b/docs/intro/index.md @@ -148,11 +148,12 @@ Some examples of the supported display types: 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`. - 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. -- Enable [logging](porting/log) +- Enable [Logging](porting/log) +- Enable asserts in `lv_conf.h` (`LV_USE_ASSERT_...`) - If you use an RTOS - increase the stack size of the task which calls `lv_timer_handler()` - Be sure you used a mutex as [described here](/porting/os)