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

Assert failure: Add task priority setting for CAN addons #730

Merged
merged 1 commit into from
Jan 1, 2025

Conversation

dalathegreat
Copy link
Owner

What

This PR fixes the crashing at boot reported in #729 when using ESP32 v3.1.0

Why

To be able to use the application with ESP32 v3.1.0

How

Both CAN libraries are creating tasks with a priority of 256, which is far beyond the maximum allowed value for the ESP32's FreeRTOS. We now set this manually instead, base value of 10 added.

Copy link
Contributor

@josiahhiggs josiahhiggs left a comment

Choose a reason for hiding this comment

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

Great job finding the problem and looks fit for purpose.

@dalathegreat dalathegreat merged commit 608b082 into main Jan 1, 2025
104 checks passed
@dalathegreat dalathegreat deleted the bugfix/freeRTOS-task-assert branch January 1, 2025 21:29
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.

2 participants