projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Serial port support for ATMega1280 (contributed by Fabio Bizzi).
[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..b4ed93a330209ab29bb413053dce250769c619cd 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
@@
-80,9
+80,9
@@
SECTIONS
.data : AT (__text_end)
{
.data : AT (__text_end)
{
+ . = ALIGN (0x400);
PROVIDE (__data_start = .);
*(vtable)
PROVIDE (__data_start = .);
*(vtable)
- . = ALIGN (0x400);
*(.data .data.*)
. = ALIGN (4);
_edata = .;
*(.data .data.*)
. = ALIGN (4);
_edata = .;
@@
-103,11
+103,16
@@
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 = .);
- . = ALIGN(4);
- . += MAIN_STACK_SIZE;
- PROVIDE (__stack_end = .);
+ PROVIDE (__msp_start = .);
+ . = ALIGN(8);
+ . += STACK_SIZE;
+ PROVIDE (__msp_end = .);
+
+ PROVIDE (__psp_start = .);
+ . = ALIGN(8);
+ . += STACK_SIZE;
+ PROVIDE (__psp_end = .);
PROVIDE (__heap_start = .);
PROVIDE (__heap_start = .);
- . = ALIGN(
4
);
+ . = ALIGN(
8
);
}
}