Skip to content

Commit

Permalink
Increase stack size to 1MiB.
Browse files Browse the repository at this point in the history
Stack overflows were observed at 64KiB with the debug profile.
  • Loading branch information
jonathanpallant committed Apr 26, 2024
1 parent fae0031 commit abeb6cc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions example-code/qemu-aarch64v8a/linker.ld
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ SECTIONS {
/DISCARD/ : {
*(.note .note*)
}
. = ALIGN(8);
. += 0x10000; /* 64kB of stack memory */
. = ALIGN(16);
. += 0x100000; /* 1024kB of stack memory */
stack_top = .;
}
4 changes: 2 additions & 2 deletions example-code/qemu-armv8r/linker.ld
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ SECTIONS {
/DISCARD/ : {
*(.note .note*)
}
. = ALIGN(8);
. += 0x10000; /* 64kB of stack memory */
. = ALIGN(16);
. += 0x100000; /* 1024kB of stack memory */
stack_top = .;
}

0 comments on commit abeb6cc

Please sign in to comment.