Skip to content

Commit f33487c

Browse files
committed
application/demo_eclic_stress: fix INTERRUPT_STACK_SIZE causing RAM overflow
Restore INTERRUPT_STACK_SIZE from 20480 to 10240. The previous value caused .bss section overflow in linker, which is not related to the SMODE_STACK_SIZE increase for RVV vector interrupt support Signed-off-by: Huaqi Fang <578567190@qq.com>
1 parent cfc67b5 commit f33487c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • application/baremetal/demo_eclic_stress

application/baremetal/demo_eclic_stress/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@
197197
#define SMODE_TIMER_TICKS (SOC_TIMER_FREQ / (1000 / (SMODE_TICK_MS)))
198198

199199
/* Create separated interrupt stack M-Mode and S-Mode execution when INTSTACK macro defined */
200-
#define INTERRUPT_STACK_SIZE 20480
200+
#define INTERRUPT_STACK_SIZE 10240
201201
uint8_t mmode_int_stack[INTERRUPT_STACK_SIZE] __attribute__((aligned(16)));
202202
uintptr_t mmode_int_sp = (uintptr_t)(mmode_int_stack + sizeof(mmode_int_stack));
203203

0 commit comments

Comments
 (0)