boards: Increase esp32h2-devkit:efuse IDLETHREAD stack to 3072#18750
Merged
simbit18 merged 1 commit intoapache:masterfrom Apr 17, 2026
Merged
boards: Increase esp32h2-devkit:efuse IDLETHREAD stack to 3072#18750simbit18 merged 1 commit intoapache:masterfrom
esp32h2-devkit:efuse IDLETHREAD stack to 3072#18750simbit18 merged 1 commit intoapache:masterfrom
Conversation
The idle task is used during initialization and its stack size is operating near the boundaries of a stack overflow, causing occasional crashes during board's bringup. This commit increases the idle task stack size to solve such an issue. Signed-off-by: Tiago Medicci Serrano <tiago.medicci@espressif.com>
xiaoxiang781216
approved these changes
Apr 17, 2026
eren-terzioglu
approved these changes
Apr 17, 2026
simbit18
approved these changes
Apr 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The idle task is used during initialization and its stack size is operating near the boundaries of a stack overflow, causing occasional crashes during board's bringup. This PR increases the idle task stack size to solve such an issue.
Impact
Impact on user: Yes. It prevents occasional crashes during board's bringup.
Impact on build: No.
Impact on hardware: No.
Impact on documentation: No.
Impact on security: No.
Impact on compatibility: No.
Testing
Build
esp32h2-devkit:efusedefconfig withCONFIG_STACK_COLORATIONto check Idle task stack usage.Building
Running
Run
pscommand on NSH to check how much of the Idle task's stack is being used.Results
As can be seen, after increasing Idle task stack size to 3072, 70.6% of it is being used, which clearly indicates that the old value (2048) was expected to generate a stack overflow crash.