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

Increasing main task stack for esp32c6 during xbox connection, esp-id… #143

Conversation

ajgrah2000
Copy link

…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.

@ricardoquesada ricardoquesada changed the base branch from main to develop February 1, 2025 16:03
@ricardoquesada
Copy link
Owner

Thanks!

@ricardoquesada ricardoquesada merged commit 8dc1cfa into ricardoquesada:develop Feb 1, 2025
6 checks passed
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