radiosound-com / makerfabs-parallel-tft-lvgl-lgfx

LVGL demos using LovyanGFX driver on Makerfabs 16-bit parallel TFT (ESP32-S2 or ESP32-S3)
Other
29 stars 10 forks source link

You don't provide an lv_conf.h file anywhere #3

Open codegrue opened 1 year ago

ftab commented 1 year ago

Things that would go in lv_conf.h are specified as part of the sdkconfig in this project, so to set up your build do this:

source ./set-target esp32s3
./idf menuconfig

(or esp32s2 if you have the S2 version of the screen)

Go to components, and scroll down to near the end for the LVGL config

Then after you're done, save and quit, and

./build flash monitor

I wish there were a better way, because every time I tweak an LVGL config item, it triggers a full rebuild :/

It has to be done this way as I understand it, because it's building it as an esp-idf component, and the sdkconfig.h is the only way components can get the global config items like that. (Only other way I can think of is stick an lv_conf.h inside the component dir but you have to gitignore it)