Increasing main task stack for esp32c6 during xbox connection, esp-id… #143
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.
…f v5.3.2
When building: examples/esp32
with: idf.py set-target esp32c6
and esp-idf: commit 9d7f2d69f50d1288526d4f1027108e314e8c879f (HEAD, tag: v5.3.2)
Connecting an xbox controller
Firmware Revision: 5.9.2709.0
Lead to an error of: Guru Meditation Error: Core 0 panic'ed (Stack protection fault
Increasing 'ESP_MAIN_TASK_STATCK_SIZE' to 4096 resolved the issues.
As it's unclear of the scope of the issues (ie if other/all ESP boards are impacted), this adds a target specific fix. It's possible the the root cause is that the default for 'esp-idf' isn't appropriate when BT LE is in use, although this addresses the issue that's been observed in this context.