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
@@ -40,7 +40,7 @@ config NET_RPMSG_PRIORITY
config NET_RPMSG_STACKSIZE
int "net rpmsg stack size"
default 2048
default DEFAULT_TASK_STACKSIZE
---help---
The stack size allocated for the net rpmsg task.