mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
Introduce CONFIG_DEFAULT_TASK_STACKSIZE
* The appropriate size of stack varies among archs. E.g. for 64-bit sim, 2048 is way too small, especially when the task happens to use host OS functionalities. I plan to allow an arch provide its own default. * I plan to use this to replace hardcoded "STACKSIZE = 2048" in APPDIR.
This commit is contained in:
committed by
Xiang Xiao
parent
44b8f3e467
commit
f8077022bd
@@ -27,6 +27,12 @@ config DEFAULT_SMALL
|
||||
have already been selected in your configuration file. This applies
|
||||
only to new settings that require a default value.
|
||||
|
||||
config DEFAULT_TASK_STACKSIZE
|
||||
int "The default stack size for tasks"
|
||||
default 2048
|
||||
---help---
|
||||
The default stack size for tasks.
|
||||
|
||||
choice
|
||||
prompt "Build Host Platform"
|
||||
default HOST_LINUX
|
||||
|
||||
Reference in New Issue
Block a user