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:
YAMAMOTO Takashi
2020-03-27 10:51:03 +09:00
committed by Xiang Xiao
parent 44b8f3e467
commit f8077022bd
8 changed files with 19 additions and 13 deletions
+6
View File
@@ -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