sim: add CONFIG_SIM_STACKSIZE_ADJUSTMENT to reduce variability

between sim and other different platform stack size setting

Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
This commit is contained in:
Jiuzhu Dong
2021-12-12 23:26:45 +08:00
committed by Xiang Xiao
parent af614ac77d
commit 6b5a7a73ba
4 changed files with 13 additions and 4 deletions
-2
View File
@@ -1808,14 +1808,12 @@ menu "Stack and heap information"
config DEFAULT_TASK_STACKSIZE
int "The default stack size for tasks"
default 65536 if ARCH_SIM
default 2048
---help---
The default stack size for tasks.
config IDLETHREAD_STACKSIZE
int "Idle thread stack size"
default DEFAULT_TASK_STACKSIZE if ARCH_SIM
default 1024
---help---
The size of the initial stack used by the IDLE thread. The IDLE thread