Description
What MCU/Processor/Board and compiler are you using?
What LVGL version are you using?
LVGL V8.4
What do you want to achieve?
Test and run the given 08 lvgl porting demo code of esp idf (specifically lv_widget_demo())
What have you tried so far?
Code to reproduce
ESP32-S3-Touch-LCD-5-Demo\ESP-IDF\08_lvgl_Porting
The main.c code:
/*
* SPDX-FileCopyrightText: 2023-2024 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: CC0-1.0
*/
#include "waveshare_rgb_lcd_port.h"
void app_main()
{
waveshare_esp32_s3_rgb_lcd_init(); // Initialize the Waveshare ESP32-S3 RGB LCD
wavesahre_rgb_lcd_bl_on(); //Turn on the screen backlight
// wavesahre_rgb_lcd_bl_off(); //Turn off the screen backlight
// Lock the mutex due to the LVGL APIs are not thread-safe
if (lvgl_port_lock(-1)) {
// lv_demo_stress();
// lv_demo_benchmark();
// lv_demo_music();
#if CONFIG_EXAMPLE_LCD_TOUCH_CONTROLLER_GT911
lv_demo_widgets();
#else
// lv_demo_music();
#endif
// example_lvgl_demo_ui();
// Release the mutex
lvgl_port_unlock();
}
}
Screenshot and/or video
SDK CONFIG
I think my projSdkconfig.txt (80.1 KB) might have to do with it. If any one has run the display official demo example kindly let me know: