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

Increase esp32 default main task stack size to 16K #2920

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

mikee47
Copy link
Contributor

@mikee47 mikee47 commented Dec 12, 2024

PR #2913 had the side-effect of reducing the available stack space available when running the applications init function. This can cause problems as discovered in #2914.

The User's init function is called in the main task, which is destroyed afterwards whilst Sming continues to run either in tiT task or Sming task, depending on whether networking is enabled. This change ensures that the stack size is consistent.

User's `init` function is called in main task.
After initialisation this task is destroyed and Sming continues to run
either in `tiT` task or `Sming` task, depending on whether networking
is enabled.
@slaff slaff added this to the 6.0.0 milestone Dec 12, 2024
@SmingHub SmingHub deleted a comment from what-the-diff bot Dec 12, 2024
@slaff slaff merged commit 3dc8cb0 into SmingHub:develop Dec 12, 2024
35 checks passed
@mikee47 mikee47 deleted the fix/esp32-init-stack-size branch December 12, 2024 20:00
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