when you download the driver above arduino_tft_espi esp32.zip
and uncompress it. you will see another zip file in there called arduino_tft_espi.zip… when you open that one in ark or zip program you will see a folder called ui_project_name and in there is the folder called libraries and drop libraries mentioned in there…
now your display is of different size then the one i have
you might have to edit the file ui.ino in the ui folder found with in that same zip file as well to match the your display specifications
just use the configurations that are found in the LvglWidgets.ino that worked for you and compare if there is a difference in this section
example from mine -
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 800*480
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 */);
or just use the driver as is and modify when you ready to flash it esp32-
but now that i used squareline for a bit , and have a better understanding of it… i do not think you actually need to upload the added libraries into the zipfile . the current board driver will work fine as is (i’m pretty sure anyways ) . the add libraries are there purely for packaging reasoning . ie So you can compress your project ship it and all the necessary files will be there
then once you have it all edited for your board type . drop the board driver folder and all in to the squareline/boards/Arduino/ directory ( if the Arduino directory does not exist create it)