You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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,
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.
This issue or pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
IMPORTANT
Issues that don't use this template will be ignored and closed.
Perform all steps below and tick them with [x]
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
The Kconfig seems to be at fault: the conditional on
prompt "TFT SPI Bus."
inlv_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
The text was updated successfully, but these errors were encountered: