lvgl / lv_port_esp32

LVGL ported to ESP32 including various display and touchpad drivers
MIT License
995 stars 428 forks source link

Configuring for "TTGO T-Display" results in build error #317

Open trayracing opened 1 year ago

trayracing commented 1 year ago

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." 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

kisvegabor commented 1 year ago

As this is issue is related to lv_port_esp32 I transfer it there.

stale[bot] commented 1 year ago

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.