projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lm3s1968-gpio: coding style fixes.
[bertos.git]
/
bertos
/
cpu
/
cortex-m3
/
scripts
/
lm3s1968_rom.ld
diff --git
a/bertos/cpu/cortex-m3/scripts/lm3s1968_rom.ld
b/bertos/cpu/cortex-m3/scripts/lm3s1968_rom.ld
index b93a49f104ea25d38cdbc33935e83a0fc0acb9f2..e6c0e018bb3250dee085894ab6b69dd53fb8133a 100644
(file)
--- a/
bertos/cpu/cortex-m3/scripts/lm3s1968_rom.ld
+++ b/
bertos/cpu/cortex-m3/scripts/lm3s1968_rom.ld
@@
-52,7
+52,7
@@
MEMORY
/*
* Define stack size here
*/
/*
* Define stack size here
*/
-
MAIN_STACK_SIZE = 0x04
00;
+
STACK_SIZE = 0x10
00;
/*
* Allocate section memory
/*
* Allocate section memory
@@
-103,10
+103,15
@@
SECTIONS
* Allocated stack at the end of bss section.
* Data heap is allocate at end of stack.
*/
* Allocated stack at the end of bss section.
* Data heap is allocate at end of stack.
*/
- PROVIDE (__
stack
_start = .);
+ PROVIDE (__
msp
_start = .);
. = ALIGN(4);
. = ALIGN(4);
- . += MAIN_STACK_SIZE;
- PROVIDE (__stack_end = .);
+ . += STACK_SIZE;
+ PROVIDE (__msp_end = .);
+
+ PROVIDE (__psp_start = .);
+ . = ALIGN(4);
+ . += STACK_SIZE;
+ PROVIDE (__psp_end = .);
PROVIDE (__heap_start = .);
. = ALIGN(4);
PROVIDE (__heap_start = .);
. = ALIGN(4);