Skip to content

Commit 4b9c82f

Browse files
committed
pbio/platform/ev3/platform.ld: reserve more for stack
The start.S script is already reserving 2.8M for the stack via: .set UND_STACK_SIZE, 0x50000 .set ABT_STACK_SIZE, 0x50000 .set FIQ_STACK_SIZE, 0xF0000 .set IRQ_STACK_SIZE, 0xF0000 .set SVC_STACK_SIZE, 0x50000 And expects a bit more for the main stack. 64K was not nearly enough to cover this. 4M should be more than enough.
1 parent 34da9e9 commit 4b9c82f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/pbio/platform/ev3/platform.ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ MEMORY
1010
DDR (rwx) : ORIGIN = 0xC0008000, LENGTH = (64M - 0x8000)
1111
}
1212

13-
_minimal_stack_size = 64K;
13+
_minimal_stack_size = 4M;
1414
pbdrv_stack_end = ORIGIN(DDR) + LENGTH(DDR) - 4;
1515

1616
SECTIONS

0 commit comments

Comments
 (0)