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

bluetooth: make long stack size configurable #88006

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

toonst
Copy link
Contributor

@toonst toonst commented Apr 1, 2025

when using CONFIG_NO_OPTIMIZATIONS, the user needs to be able to increase stack sizes to avoid crashes. This commit makes the bluetooth long work queue thread stack size configurable.

when using CONFIG_NO_OPTIMIZATIONS, the user needs to be able to
increase stack sizes to avoid crashes. This commit makes the bluetooth
long work queue thread stack size configurable.

Signed-off-by: Toon Stegen <toon@toostsolutions.be>
@toonst toonst force-pushed the make_bt_long_stack_size_configurable branch from 79ff815 to 853a692 Compare April 1, 2025 21:59
Copy link
Collaborator

@Thalley Thalley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure what the right solution is, but did you consider increasing the stack size if NO_OPTIMIZATION is enabled, similar to how other stack sizes do

default 2048 if NO_OPTIMIZATIONS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Bluetooth Host Bluetooth Host (excluding BR/EDR) area: Bluetooth
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants