input: increase default stack size to 1024
The default 512 bytes stack size is a bit tight for some architecture and leads to samples running out of stack. Let's default to 1024 and let the user tweak it down if necessary. Suggested-by: Benjamin Cabé <benjamin@zephyrproject.org> Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
This commit is contained in:
parent
c13930791d
commit
906724fb99
|
@ -60,7 +60,7 @@ config INPUT_QUEUE_MAX_MSGS
|
|||
|
||||
config INPUT_THREAD_STACK_SIZE
|
||||
int "Input thread stack size"
|
||||
default 512
|
||||
default 1024
|
||||
help
|
||||
Stack size for the thread processing the input events, must have
|
||||
enough space for executing the registered callbacks.
|
||||
|
|
|
@ -9,7 +9,6 @@ tests:
|
|||
input.api.thread:
|
||||
extra_configs:
|
||||
- CONFIG_INPUT_MODE_THREAD=y
|
||||
- CONFIG_INPUT_THREAD_STACK_SIZE=1024
|
||||
input.api.synchronous:
|
||||
extra_configs:
|
||||
- CONFIG_INPUT_MODE_SYNCHRONOUS=y
|
||||
|
|
Loading…
Reference in a new issue