Skip to content

Add configuration option to circumvent internal task creation (BSP-726)#658

Open
Maldus512 wants to merge 2 commits intoespressif:masterfrom
HSW-Bologna:master
Open

Add configuration option to circumvent internal task creation (BSP-726)#658
Maldus512 wants to merge 2 commits intoespressif:masterfrom
HSW-Bologna:master

Conversation

@Maldus512
Copy link

This pull request implements the feature mentioned in #613. It adds a compile time configuration option that excludes task creation in lvgl_port_init. The API is hollowed out but otherwise left untouched to accommodate for other libraries that may in turn rely on lvgl_port like https://github.com/waveshareteam/Waveshare-ESP32-components.

@CLAassistant
Copy link

CLAassistant commented Oct 7, 2025

CLA assistant check
All committers have signed the CLA.

cursor[bot]

This comment was marked as outdated.

@github-actions github-actions bot changed the title Add configuration option to circumvent internal task creation Add configuration option to circumvent internal task creation (BSP-726) Oct 7, 2025
@PetrESP
Copy link
Collaborator

PetrESP commented Jan 20, 2026

Hello @Maldus512,

This is an interesting idea and I see that you've also created an issue.

But from what I can see is that you basically make it so calls to lvgl_init do nothing.

Have you considered not calling the lvgl_init in your application and then calling API lv_init(), lv_display_get_default() and the lv_indev logic in your own task? Like you would have to do if your option would not be set.

I think that there is no need for us to disable anything if you just don't call the init and do it yourself.

I hope this helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants