Hello LVGL community,
I’m currently working on an ESP32-S3 project with a 5" 800x480 display based on the ST7262 RGB interface, using the Arduino_GFX_Library and LVGL 9.1.
I’m designing my GUI in SquareLine Studio, and everything seems fine during export. I get the usual /ui/
folder with ui.c
, ui.h
, ui_Welcome.c
, image resources, etc.
However, after integrating the exported files into my Arduino project, the screen only shows the backlight — no interface appears, even though I’ve called ui_init()
at the end of my begin()
function.
Here is what I’ve already done:
- I’m initializing LVGL manually (
lv_init()
) - I’m using
Arduino_ESP32RGBPanel
+Arduino_RGB_Display
- I’ve created a proper
flush_cb()
and registered it withlv_disp_drv_register()
- I’ve allocated the
lv_disp_draw_buf
usingps_malloc
lv_tick_inc(5)
andlv_timer_handler()
are called inloop()
- All SquareLine
.c
files are included manually inmySketch.ino
to ensure compilation
Despite all of that, the screen remains blank.
Has anyone successfully used SquareLine Studio + Arduino_GFX + ST7262 RGB panel?
Is there any special consideration or hidden step I’m missing?
Any help is highly appreciated!
Thanks in advance