-
Notifications
You must be signed in to change notification settings - Fork 459
Open
Description
IMPORTANT
Issues that don't use this template will be ignored and closed.
Perform all steps below and tick them with [x]
- Check the related part of the Documentation
- Update lvgl to the latest version
- [NA] Reproduce the issue in a Simulator
Describe the bug
Build Error when lv_port_esp32 configured to TTGO T-Display - TFT_SPI_HOST not defined.
./components/lvgl_esp32_drivers/lvgl_helpers.c: In function 'lvgl_driver_init': ../components/lvgl_esp32_drivers/lvgl_helpers.c:111:26: error: 'TFT_SPI_HOST' undeclared (first use in this function); did you mean 'VSPI_HOST'? lvgl_spi_driver_init(TFT_SPI_HOST,
To Reproduce
- git clone --recurse-submodules https://github.com/lvgl/lv_port_esp32.git
- Run the menuconfig, and for the lvl tft display controller, pick "TTGO T-display"
- Save the configuration and build.
The Kconfig seems to be at fault: the conditional on prompt "TFT SPI Bus."
in lv_port_esp32\components\lvgl_esp32_drivers\lvgl_tft\Kconfig
appears to prevent LV_TFT_DISPLAY_SPI_*
from being set. At least, commenting out the conditional lets it build.
Environment: vscode-esp-idf-extension, Win10.
Expected behavior
Build without errors
Screenshots or video
Metadata
Metadata
Assignees
Labels
No labels