fixed definitions for stack areas

This commit is contained in:
kkitayam 2021-03-27 16:00:56 +09:00
parent e010ea30e5
commit e48b2c681e
1 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
__USTACK_SIZE = 0x00000200; __USTACK_SIZE = 0x00000200;
__ISTACK_SIZE = 0x00000100; __ISTACK_SIZE = 0x00000200;
MEMORY MEMORY
{ {
@ -112,13 +112,13 @@ SECTIONS
_ebss = .; _ebss = .;
_end = .; _end = .;
} > RAM } > RAM
.ustack (COPY) : .ustack :
{ {
. = ALIGN(8); . = ALIGN(8);
. = . + __USTACK_SIZE; . = . + __USTACK_SIZE;
PROVIDE(_ustack = .); PROVIDE(_ustack = .);
} > RAM } > RAM
.istack (COPY) : .istack :
{ {
. = ALIGN(8); . = ALIGN(8);
. = . + __ISTACK_SIZE; . = . + __ISTACK_SIZE;