ztest: reduce MAIN_STACK_SIZE stack to 512 bytes

Save some memory for small memory systems when running ztests.  We have
our own stack in ztest so we should be able to get away reducing down
the main stack.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2017-08-10 16:38:14 -05:00 committed by Anas Nashif
commit bd9a1548ac

View file

@ -104,6 +104,7 @@ config MAIN_STACK_SIZE
int
prompt "Size of stack for initialization and main thread"
default 1024
default 512 if ZTEST
help
When the initialization is complete, the thread executing it then
executes the main() routine, so as to reuse the stack used by the