5inch display ILI6122 & ILI5960 need help to add it to ESPHome

Hi,
The screen doesn’t work with ESPHome, there is no RGB screen driver. You must use Arduino or PlatformIO which have screen and touch drivers.

I used openHASP, with a shared configuration for the 7 inch.I compiled a firmware with the configuration using the doc and gitpod to compile.

copy the elecrow-esp32-s3-tft.ini (the link below) to user_setups/esp32s3/

in the platformio_override.ini file modify it as such:

[platformio]
extra_configs =
    ; Uncomment or edit the lines to show more User Setups in the PIO sidebar
    user_setups/esp32s3/elecrow-esp32-s3-tft.ini

and

extra_default_envs =
    ; Comment unneeded environments or create extra
    ; arduitouch-esp32_ili9341
    ; d1-mini-esp32_ili9341
    ; d132-unoshield
    ; esp12e-st7735
    ; esp32dev-mrb3511
    ; esp32dev-ili9488
    elecrow-s3-8048C070_4MB

Save Ctrl + S and type platformio run in the command line area for compile.
After, download firmware in build_output\firmware.

Then flash the ESP with Flash Download Tools:

choise COM port
SPI SPEED 80MHz
SPI MODE QIO
select the firmware and type 0 in the box.

Switch the ESP to upload mode (Why need putting the ESP32 displays into "upload mode" with the BOOT and RESET button? — ELECROW - FORUM) and start flash.

Follow the instructions for the first start Wifi Setup - openHASP

WIP: