projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add wizard tag.
[bertos.git]
/
bertos
/
cpu
/
cortex-m3
/
scripts
/
cortex-m3_rom.ld
diff --git
a/bertos/cpu/cortex-m3/scripts/cortex-m3_rom.ld
b/bertos/cpu/cortex-m3/scripts/cortex-m3_rom.ld
index c488d06f2408799f81a2ab54b2fe4c6bdad0a0e1..94a181363000e522a58d6d4c3326c9e8cc747724 100644
(file)
--- a/
bertos/cpu/cortex-m3/scripts/cortex-m3_rom.ld
+++ b/
bertos/cpu/cortex-m3/scripts/cortex-m3_rom.ld
@@
-38,10
+38,6
@@
OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm", "elf32-littlearm")
OUTPUT_ARCH(arm)
OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm", "elf32-littlearm")
OUTPUT_ARCH(arm)
-/*
- * Define stack size here
- */
-STACK_SIZE = 0x1000;
/*
* Allocate section memory
/*
* Allocate section memory
@@
-72,6
+68,9
@@
SECTIONS
. = ALIGN (0x400);
PROVIDE (__data_start = .);
*(vtable)
. = ALIGN (0x400);
PROVIDE (__data_start = .);
*(vtable)
+ . = ALIGN (4);
+ *(.ramfunc)
+ . = ALIGN (4);
*(.data .data.*)
. = ALIGN (4);
_edata = .;
*(.data .data.*)
. = ALIGN (4);
_edata = .;
@@
-91,6
+90,7
@@
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.
+ * STACK_SIZE variable is defined in the CPU specific linker script file.
*/
PROVIDE (__msp_start = .);
. = ALIGN(8);
*/
PROVIDE (__msp_start = .);
. = ALIGN(8);