samples: arch: smp: pi: fix the stack overflow issue
The stack guard report this testcase has the stack overflow issue. To fix the issue, slightly increse the stack size. Signed-off-by: Jaxson Han <jaxson.han@arm.com>
This commit is contained in:
parent
64086d04d5
commit
5b8df16ef6
|
@ -17,7 +17,7 @@
|
|||
#define DIGITS_NUM 240
|
||||
|
||||
#define LENGTH ((DIGITS_NUM / 4) * 14)
|
||||
#define STACK_SIZE ((LENGTH * sizeof(int) + 1024))
|
||||
#define STACK_SIZE ((LENGTH * sizeof(int) + 1280))
|
||||
|
||||
#ifdef CONFIG_SMP
|
||||
#define CORES_NUM arch_num_cpus()
|
||||
|
|
Loading…
Reference in New Issue