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

Support dynamic priority for all tasks priorities #11219

Closed
wants to merge 1 commit into from

Conversation

SteveCEvans
Copy link
Member

@SteveCEvans SteveCEvans commented Jan 3, 2022

Tasks with a priority of TASK_PRIORITY_IDLE are not being scheduled after disarm. This will be the underlying cause for issues with, amongst others, the VTXCTRL, CAMCTRL, ADCINTERNAL, and PINIOBOX tasks. This is because dynamic priority is disabled for these tasks, and if any tasks are waiting in order to comply with the new stricter scheduling, the TASK_PRIORITY_IDLE tasks are inhibited.

The PR allows dynamic priority scheduling for such tasks.

Fixes: #11216

Possible fix for: #11204 Please test

@JDRotor
Copy link

JDRotor commented Jan 3, 2022

I have tested the STM32F7X2 hex on the AikonF7 and MatekF722SE (Lux) Flight Controllers and issue appears to have be resolved.

@SteveCEvans
Copy link
Member Author

Do not merge as will be included in #11198

@haslinghuis haslinghuis added this to For discussion in Finalizing Firmware 4.3 Release via automation Jan 4, 2022
@haslinghuis haslinghuis moved this from For discussion to Steve's PR in Mashup in Finalizing Firmware 4.3 Release Jan 4, 2022
@haslinghuis
Copy link
Member

Merged with #11198

@haslinghuis haslinghuis closed this Jan 7, 2022
Finalizing Firmware 4.3 Release automation moved this from Steve's PR in Mashup to Finished (Merged) Jan 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

Pinio stuck after arm
9 participants