How to setup the lvgl library for Esp32-s3-WROOM-1 with TFT display 800*480

Hi @pete-pjb sorry here’s the correction, I my case the code im trying to flash its just a tft hello world:

#include <Arduino_GFX_Library.h>
#include <Arduino_GFX.h>
#include <lvgl.h>

#define GFX_BL DF_GFX_BL // default backlight pin, you may replace DF_GFX_BL to actual backlight pin
#define TFT_BL 2
/ More dev device declaration: Dev Device Declaration · moononournation/Arduino_GFX Wiki · GitHub /
#if defined(DISPLAY_DEV_KIT)
*Arduino_GFX gfx = create_default_Arduino_GFX();
#else / !defined(DISPLAY_DEV_KIT) /

/ More data bus class: Data Bus Class · moononournation/Arduino_GFX Wiki · GitHub 1 /
*//Arduino_DataBus bus = create_default_Arduino_DataBus();

/ More display class: Display Class · moononournation/Arduino_GFX Wiki · GitHub 1 /
*//Arduino_GFX gfx = new Arduino_ILI9341(bus, DF_GFX_RST, 0 / rotation /, false / IPS /);

*Arduino_ESP32RGBPanel bus = new Arduino_ESP32RGBPanel(

GFX_NOT_DEFINED /* CS /, GFX_NOT_DEFINED / SCK /, GFX_NOT_DEFINED / SDA /,

41 /* DE /, 40 / VSYNC /, 39 / HSYNC /, 42 / PCLK /,

14 /* R0 /, 21 / R1 /, 47 / R2 /, 48 / R3 /, 45 / R4 /,

9 /* G0 /, 46 / G1 /, 3 / G2 /, 8 / G3 /, 16 / G4 /, 1 / G5 /,

15 /* B0 /, 7 / B1 /, 6 / B2 /, 5 / B3 /, 4 / B4 /
);
// option 1:
// 7寸 50PIN 800480*
*Arduino_RPi_DPI_RGBPanel gfx = new Arduino_RPi_DPI_RGBPanel(

bus,*
// 800 / width /, 0 / hsync_polarity /, 8/ hsync_front_porch /, 2 / hsync_pulse_width /, 43/ hsync_back_porch /,
// 480 / height /, 0 / vsync_polarity /, 8 / vsync_front_porch /, 2/ vsync_pulse_width /, 12 / vsync_back_porch /,
// 1 / pclk_active_neg /, 16000000 / prefer_speed /, true / auto_flush /);

800 /* width /, 0 / hsync_polarity /, 210 / hsync_front_porch /, 30 / hsync_pulse_width /, 16 / hsync_back_porch /,

480 /* height /, 0 / vsync_polarity /, 22 / vsync_front_porch /, 13 / vsync_pulse_width /, 10 / vsync_back_porch /,

1 /* pclk_active_neg /, 16000000 / prefer_speed /, true / auto_flush /);

#endif / !defined(DISPLAY_DEV_KIT) /
/*******************************************************************************

End of Arduino_GFX setting*
*****************************************************************************/
void setup(void)
{

gfx->begin();*
gfx->fillScreen(BLACK);*
#ifdef TFT_BL

pinMode(TFT_BL, OUTPUT);*

digitalWrite(TFT_BL, HIGH);*
#endif

gfx->setCursor(10, 10);*

gfx->setTextColor(RED);*

gfx->println(“Hello World!”);*

delay(2000); // 5 seconds*
}

void loop()
{

gfx->setCursor(random(gfx->width()), random(gfx->height()));*

gfx->setTextColor(random(0xffff), random(0xffff));*

gfx->setTextSize(random(6) /* x scale /, random(6) / y scale /, random(2) / pixel_margin /);

gfx->println(“Hello World!”);*

delay(1000); // 1 second*
}

but im getting when I check the serial monitor its obviously isn’t working the code, no output in the screen here’s the error code that is referring to a .cpp archive inside the library :

lcd_panel.rgb: esp_lcd_new_rgb_panel(151): no mem for frame buffer
ESP_ERROR_CHECK failed: esp_err_t 0x101 (ESP_ERR_NO_MEM) at 0x4037a84c
file: “/Users/luisdiaz/Documents/Arduino/libraries/Arduino_GFX-master/src/databus/Arduino_ESP32RGBPanel.cpp” line 252
func: uint16_t* Arduino_ESP32RGBPanel::getFrameBuffer(uint16_t, uint16_t, uint16_t, uint16_t, uint16_t, uint16_t, uint16_t, uint16_t, uint16_t, uint16_t, uint16_t, int32_t)
expression: esp_lcd_new_rgb_panel(_panel_config, &_panel_handle)

abort() was called at PC 0x4037a84f on core 1

Just to clarify I have to use the 1.2.8 version of the library because if I use the latest version it doesn’t even compiles getting a bunch of errors so I was told to use that older version to make it work. greetings