Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed build error in case of FreeRtos configuration #73

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

psanyi
Copy link

@psanyi psanyi commented Jan 22, 2025

Fixed compilation error in CMakeLists.txt due to
incorrectly specified freeRTOS library.

In case of freetos configuration the lv_init() function shall be called
in a task context.

Pipei Sandor added 2 commits January 22, 2025 00:40
incorrectly specified freeRTOS library.

In case of freetos configuration the lv_init() function shall be called
in a task contxt.
@psanyi
Copy link
Author

psanyi commented Jan 28, 2025

Hello there. Please review this PR.
If no one is interested, I close it.

Regards.

@psanyi psanyi closed this Jan 29, 2025
@kisvegabor kisvegabor reopened this Jan 29, 2025
@kisvegabor
Copy link
Member

Sorry for the delay. @liamHowatt, @uLipe can you take a look at this PR?

@liamHowatt
Copy link
Member

Hi @psanyi, thank you! It builds for me. I'm seeing an issue where it crashes at SDL_Init. Is there a step I'm missing? When I run gdb ./bin/main, I see warning: Corrupted shared library list messages.

If this PR works for anyone else I'm inclined to say let's merge it.

@psanyi
Copy link
Author

psanyi commented Feb 28, 2025

Hi @psanyi, thank you! It builds for me. I'm seeing an issue where it crashes at SDL_Init. Is there a step I'm missing? When I run gdb ./bin/main, I see warning: Corrupted shared library list messages.

If this PR works for anyone else I'm inclined to say let's merge it.

In some cases the stack size for the lvgl task must be increased (depends on lvgl memory usage). Please have a look here:

#62 (comment)

@liamHowatt
Copy link
Member

liamHowatt commented Mar 6, 2025

Aha thanks. We should definitely change that value, either in this PR or another.

Next, I have the exact same problem as @MarcoGit82 here #62 (comment). Do you have this problem too? If so, how do you deal with it? Their solution is to not let LVGL use FreeRTOS internally. Maybe there's an issue with LVGL's FreeRTOS usage.

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