diff options
| author | [email protected] <[email protected]> | 2011-06-30 14:11:25 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2011-06-30 14:11:25 +0000 |
| commit | 496e7274980cdeea881f0b22f5f7206035f37884 (patch) | |
| tree | 2123c6357b98790e3ce3ca426c165a488ab43cb6 | |
| parent | 3d4e5e1fea2973cd462186a594da14b75c69e223 (diff) | |
update GNU ld script.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1558 bbd45198-f89e-11dd-88c7-29a3b14d5316
| -rw-r--r-- | bsp/stm32f107/stm32_rom.ld | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bsp/stm32f107/stm32_rom.ld b/bsp/stm32f107/stm32_rom.ld index eac4d40b11..703e7acd0a 100644 --- a/bsp/stm32f107/stm32_rom.ld +++ b/bsp/stm32f107/stm32_rom.ld @@ -1,12 +1,12 @@ /*
- * linker script for STM32F10x with GNU ld
+ * linker script for STM32F107 (256kB Flash, 64kB SRAM ) with GNU ld
* bernard.xiong 2009-10-14
*/
/* Program Entry, set to mark it as "used" and avoid gc */
MEMORY
{
- CODE (rx) : ORIGIN = 0x08000000, LENGTH = 0x00080000
+ CODE (rx) : ORIGIN = 0x08000000, LENGTH = 0x00040000
DATA (rw) : ORIGIN = 0x20000000, LENGTH = 0x00010000
}
ENTRY(Reset_Handler)
@@ -77,6 +77,7 @@ SECTIONS _sbss = .;
*(.bss)
+ *(.bss.*)
*(COMMON)
. = ALIGN(4);
|
