sched/nx_bringup: Set the initial stack size in kernel build as well
After #7364 this now works, so use it for the init process. It makes sense as the init process typically requires a big stack (due to init scripts).
This commit is contained in:
parent
512be93c36
commit
864bcf556e
@ -292,9 +292,8 @@ static inline void nx_start_application(void)
|
||||
posix_spawnattr_init(&attr);
|
||||
|
||||
attr.priority = CONFIG_INIT_PRIORITY;
|
||||
# ifndef CONFIG_BUILD_KERNEL
|
||||
attr.stacksize = CONFIG_INIT_STACKSIZE;
|
||||
# endif
|
||||
|
||||
ret = exec_spawn(CONFIG_INIT_FILEPATH, argv, NULL,
|
||||
CONFIG_INIT_SYMTAB, CONFIG_INIT_NEXPORTS, &attr);
|
||||
DEBUGASSERT(ret >= 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user