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:
Jaxson Han 2023-09-07 14:05:40 +08:00 committed by Carles Cufí
parent 64086d04d5
commit 5b8df16ef6
1 changed files with 1 additions and 1 deletions

View File

@ -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()