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
+1 -1
View File
@@ -17,7 +17,7 @@ config ELF_ALIGN_LOG2
config ELF_STACKSIZE
int "ELF Stack Size"
default 2048
default DEFAULT_TASK_STACKSIZE
---help---
This is the default stack size that will be used when starting ELF binaries.