Skip to content

The esp_lvgl_port component does not support esp-idf v5.0 (BSP-718) #643

@TDA-2030

Description

@TDA-2030

Board

ESP32-S3-USB_OTG

Hardware Description

Hardware-independent

IDE Name

VSCode

Operating System

Ubuntu 24

Description

The dependencies for the esp_lvgl_port component show that it supports idf v5.0, but the following error occurs:

[09/17/25 02:35:34] ERROR    /builds/group/esp-iot-solution/examples/usb/host/usb_cdc_4g_module/managed_components/espressif__esp_lvgl_port/src/lvgl9/esp_lvgl_port.c: In function 'lvgl_port_init':
[09/17/25 02:35:34] ERROR    /builds/group/esp-iot-solution/examples/usb/host/usb_cdc_4g_module/managed_components/espressif__esp_lvgl_port/src/lvgl9/esp_lvgl_port.c:90:15: error: implicit declaration of function 'xTaskCreateWithCaps'; did you mean 'xTaskCreateStatic'? [-Werror=implicit-function-declaration]
[09/17/25 02:35:34] ERROR       90 |         res = xTaskCreateWithCaps(lvgl_port_task, "taskLVGL", cfg->task_stack, xTaskGetCurrentTaskHandle(), cfg->task_priority, &lvgl_port_ctx.lvgl_task, caps);
[09/17/25 02:35:34] ERROR          |               ^~~~~~~~~~~~~~~~~~~
[09/17/25 02:35:34] ERROR          |               xTaskCreateStatic
[09/17/25 02:35:34] ERROR    /builds/ae_group/esp-iot-solution/examples/usb/host/usb_cdc_4g_module/managed_components/espressif__esp_lvgl_port/src/lvgl9/esp_lvgl_port.c:92:15: error: implicit declaration of function 'xTaskCreatePinnedToCoreWithCaps'; did you mean 'xTaskCreatePinnedToCore'? [-Werror=implicit-function-declaration]
[09/17/25 02:35:34] ERROR       92 |         res = xTaskCreatePinnedToCoreWithCaps(lvgl_port_task, "taskLVGL", cfg->task_stack, xTaskGetCurrentTaskHandle(), cfg->task_priority, &lvgl_port_ctx.lvgl_task, cfg->task_affinity, caps);
[09/17/25 02:35:34] ERROR          |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[09/17/25 02:35:34] ERROR          |               xTaskCreatePinnedToCore
[09/17/25 02:35:34] ERROR    cc1: some warnings being treated as errors
[09/17/25 02:35:34] ERROR    [1668/1676] Building C object esp-idf/espressif__esp32_s3_usb_otg/CMakeFiles/__idf_espressif__esp32_s3_usb_otg.dir/esp32_s3_usb_otg.c.obj
[09/17/25 02:35:34] ERROR    ninja: build stopped: subcommand failed.

Sketch

The example https://github.com/espressif/esp-bsp/tree/master/examples/display

Other Steps to Reproduce

No response

I have checked existing issues, README.md and ESP32 Forum

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.

Metadata

Metadata

Assignees

Labels

Area: LVGLrelated to LVGL and LVGL portType: BugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions