Skip to content

Conversation

@tore-espressif
Copy link
Collaborator

Closes #567

Change description

Add option to pass memory capabilities to LVGL task. This gives users the flexibility to place LVGL's task stack to external RAM

@tore-espressif tore-espressif requested a review from espzav April 29, 2025 09:56
@tore-espressif tore-espressif self-assigned this Apr 29, 2025
@github-actions
Copy link

github-actions bot commented Apr 29, 2025

Test Results

 19 files  19 suites   6m 20s ⏱️
 76 tests 26 ✅  50 💤 0 ❌
494 runs  26 ✅ 468 💤 0 ❌

Results for commit d54ee75.

♻️ This comment has been updated with latest results.

@tore-espressif
Copy link
Collaborator Author

@espzav void *heap_caps_malloc(size_t size, uint32_t caps); does not accept caps == 0, so I added default value in case the user zero-initializes lvgl_port_cfg_t

@espzav espzav added this to the esp_lvgl_port 2.6.1 milestone May 6, 2025
Copy link
Collaborator

@espzav espzav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tore-espressif Thank you for this change! LGTM
Do you want to release it now or wait for bigger release?

@tore-espressif
Copy link
Collaborator Author

I think we can wait for more features to pile up

@tore-espressif tore-espressif merged commit 5705ac7 into master May 6, 2025
39 checks passed
@tore-espressif tore-espressif deleted the feat/lvgl_stack_caps branch May 6, 2025 13:02
@BastienGermond
Copy link

@espzav Sorry to comment on a close issue, but I am encountering the same type of issues related to lack a Internal RAM. Is it possible to have a release with this patch ?

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.

Allow configuring memory location (Internal RAM / PSRAM) for LVGL task stack allocation in esp_lvgl_port (BSP-673)

4 participants