esp-arduino-libs / ESP32_Display_Panel

Arduino library of driving display panel for the ESP SoCs
Apache License 2.0
57 stars 13 forks source link

feat(config): add version control for all configuration files by @lzw… #34

Closed isthaison closed 1 month ago

isthaison commented 1 month ago

…655 (#32)

Lzw655 commented 1 month ago

Hi @isthaison, is there anything you need my help with? If you have any suggestions for modifications, feel free to let me know.

isthaison commented 1 month ago

image I'm running the demo https://github.com/esp-arduino-libs/ESP32_Display_Panel/tree/master/examples/SquareLine/v8/Porting , but it's getting an error, I'm checking to see if there's any problem. code, right?

Lzw655 commented 1 month ago

I think the problem is the PSRAM is not initialized correctly. Did you enable the PSRAM in the tools menu? image

isthaison commented 1 month ago

https://github.com/esp-arduino-libs/ESP32_Display_Panel/assets/22739578/155ae0ad-0778-4181-b851-58068c7a62c1

LCD render UI position wrong

Lzw655 commented 1 month ago

This is the RGB screen drift issue, please refer to the steps to solve it.

isthaison commented 1 month ago

Has it been changed to the master branch yet?

Lzw655 commented 1 month ago

Sorry, I didn't understand what you meant. Specifically, which modification are you referring to? And which repository's master branch?

isthaison commented 1 month ago

https://github.com/esp-arduino-libs/ESP32_Display_Panel/assets/22739578/1f8f1412-e184-4b27-82c7-2e1b079d74fb

I'm looking to build with platformio :D Final. It's OK

Lzw655 commented 1 month ago

Nice!!!

isthaison commented 1 month ago

The configuration is quite complicated :D

[env:ESP-LCD]
platform = espressif32
board = ESP-LCD
framework = arduino
platform_packages = 
    platformio/framework-arduinoespressif32@https://github.com/espressif/arduino-esp32.git
    platformio/framework-arduinoespressif32-libs@https://github.com/espressif/esp32-arduino-libs.git#idf-release/v5.1
upload_speed = 921600
monitor_speed = 115200
build_flags = 
    -DBOARD_HAS_PSRAM
    -DLV_CONF_INCLUDE_SIMPLE
    -DDISABLE_ALL_LIBRARY_WARNINGS
    -DARDUINO_USB_CDC_ON_BOOT=1
    -DCORE_DEBUG_LEVEL=1
    -DLV_LVGL_H_INCLUDE_SIMPLE
    -I src
    -D VN=1
    -D ESP32S3=1
lib_deps = 
    https://github.com/esp-arduino-libs/ESP32_Display_Panel.git
    https://github.com/esp-arduino-libs/ESP32_IO_Expander.git
    https://github.com/lvgl/lvgl.git#release/v8.3

Can I push example build platform.io?

Lzw655 commented 1 month ago

Of course! It will be very helpful. Please make a new PR and I will test it soon. Thank you for your contribution.

isthaison commented 1 month ago

I had create pull request. You can review it https://github.com/esp-arduino-libs/ESP32_Display_Panel/pull/37