I want to use the ESP32 port (lv_port_esp32) as a component with an ESP-IDF installation.
I followed the documentation in https://github.com/littlevgl/lv_port_esp32#install-this-project-as-a-library-submodule-in-your-own-project, but I got some problems.
When callilng menuconfig, there are no options for LittlevGL to configure (there are just no menu entries for them im contradiction to the above link), and thus when compiling I get errors like:
#error “LittlevGL: LV_HOR_RES_MAX and LV_VER_RES_MAX must be greater than 0”
which seems to be caused because CONFIG_LVGL_DISPLAY_WIDTH is not defined in sdkconfig.
#define LV_HOR_RES_MAX (CONFIG_LVGL_DISPLAY_WIDTH)
Configuration files are available here but they are not used during menuconfig. The Kconfig.projbuild is for the other project is working without any issues.
$ find . -name “Kconfig*”
./externals/lv_port_esp32/components/lvgl_esp32_drivers/lvgl_tft/Kconfig
./externals/lv_port_esp32/components/lvgl_esp32_drivers/lvgl_touch/Kconfig
./main/Kconfig.projbuild
So, what am I missing here? Any hints on how to proceed?
Regards
Andreas