lvgl / lv_port_esp32

LVGL ported to ESP32 including various display and touchpad drivers
MIT License
1.01k stars 434 forks source link

Demo on older esp-wrover-kit board ( not v4.1) #331

Open MrutyunjayPatel opened 1 year ago

MrutyunjayPatel commented 1 year ago

hi, we tried lv_portesp32 on esp32 wrover-kit board , the version we had is not v4.1 but a older version of the kit.

The lcd image is mirrored ( attached are config screenshots), tried all orientation possibilities, all are mirrored ones.

how do we flip the image orientation.

idf : 4.2.2 lvgl : v7.11.0 esp32 : wrover-kit older one

Lvgl_demo-esp32-wroverkit png

Lvgl_tft display-esp32-wroverkit

Lvgl_config-esp32-wroverkit

---- console monitor output ----------------- ` I (288) cpu_start: Application information: I (293) cpu_start: Project name: lvgl-demo I (298) cpu_start: App version: v2.0-68-gcffa173-dirty I (304) cpu_start: Compile time: Mar 24 2023 10:36:50 I (310) cpu_start: ELF file SHA256: c714579d0eb56efc... I (316) cpu_start: ESP-IDF: v4.2.2-dirty I (321) cpu_start: Starting app cpu, entry point is 0x40081818 0x40081818: call_start_cpu1 at D:/esp-idf-422/components/esp32/cpu_start.c:287

I (0) cpu_start: App cpu up. I (332) heap_init: Initializing. RAM available for dynamic allocation: I (339) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM I (345) heap_init: At 3FFBB1E0 len 00024E20 (147 KiB): DRAM I (351) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM I (357) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM I (364) heap_init: At 4008BA70 len 00014590 (81 KiB): IRAM I (370) cpu_start: Pro cpu start user code I (388) spi_flash: detected chip: gd I (389) spi_flash: flash io: dio W (389) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header. I (399) cpu_start: Starting scheduler on PRO CPU. I (0) cpu_start: Starting scheduler on APP CPU. I (30) lvgl_helpers: Display hor size: 240, ver size: 320 I (30) lvgl_helpers: Display buffer size: 9600 I (30) lvgl_helpers: Initializing SPI master for display I (40) lvgl_helpers: Configuring SPI host HSPI_HOST (1) I (50) lvgl_helpers: MISO pin: -1, MOSI pin: 23, SCLK pin: 19, IO2/WP pin: -1, IO3/HD pin: -1 I (50) lvgl_helpers: Max transfer size: 19200 (bytes) I (60) lvgl_helpers: Initializing SPI bus... I (70) disp_spi: Adding SPI device I (70) disp_spi: Clock speed: 40000000Hz, mode: 0, CS pin: 22 I (270) ILI9341: Initialization. I (470) ILI9341: Enabling backlight. I (470) ILI9341: Display orientation: PORTRAIT I (470) ILI9341: 0x36 command value: 0x4C `

Thanks and regards Mrutyunjay

MrutyunjayPatel commented 1 year ago

Update : found the board version details its ESP-WROVER-KIT V3 board .

https://docs.espressif.com/projects/esp-idf/en/v4.3/esp32/hw-reference/modules-and-boards-previous.html

But no info on lcd controller .

stale[bot] commented 1 year ago

This issue or pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.