Skip to content

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

@trayracing

Description

@trayracing

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

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions