NoosaHydro / 2.4inch_ESP32-2432S024

11 stars 4 forks source link

Please share the lv_conf.h file #1

Closed rtek1000 closed 2 months ago

rtek1000 commented 5 months ago

Hello,

I'm trying to compile the example, but an error is occurring. Library support said that each user must configure the library according to the display in use. Please share the configuration file.

Details: https://github.com/lvgl/lvgl/issues/6000

Thank you.

rtek1000 commented 5 months ago

Configure LVGL

LVGL has its own configuration file called lv_conf.h. When LVGL is installed, follow these configuration steps:

Go to the directory of the installed Arduino libraries

Go to lvgl and copy lv_conf_template.h as lv_conf.h into the Arduino Libraries directory next to the lvgl library folder.

Open lv_conf.h and change the first #if 0 to #if 1 to enable the content of the file

Set the color depth of you display in LV_COLOR_DEPTH

https://docs.lvgl.io/master/integration/framework/arduino.html

rtek1000 commented 2 months ago

I found the files (User_Setup.h; lv_conf.h), I'm trying to compile the example. If I manage to compile, I'll come back to close this issue.

https://github.com/NoosaHydro/2.4inch_ESP32-2432S024/tree/main/1-Demo/Demo_Arduino/1_2_Factory_samples_Capacitive_touch/TFT_eSPI%20bottom%20layer%20replacement%20file

rtek1000 commented 2 months ago

The compilation worked, using the provided libraries (if I use current libraries from each repository, it will not compile).

https://github.com/NoosaHydro/2.4inch_ESP32-2432S024/tree/main/1-Demo/Demo_Arduino/libraries

Another issue is the pre-compiled file for burning, the burner didn't work, for some reason I don't know:

https://github.com/NoosaHydro/2.4inch_ESP32-2432S024/tree/main/8-Burn%20operation

rtek1000 commented 2 months ago

Thank you.

rtek1000 commented 2 months ago

Note: The location of the lv_conf.h file is:

It should look like this: image

After that the demos shall work too.

Originally posted by @kisvegabor in https://github.com/lvgl/lvgl/issues/6000#issuecomment-2076642081