Fixed GCC ARM linker script for STM32L1 (STM32L152XE.ld)

Fixed Flash and RAM definitions in GCC ARM linker script for STM32L1
(STM32L152XE.ld)
pull/748/head
modtronix1 2014-11-29 08:31:53 +11:00
parent dc815b0816
commit be30dcbb0b
1 changed files with 3 additions and 2 deletions

View File

@ -1,8 +1,9 @@
/* Linker script to configure memory regions. */ /* Linker script to configure memory regions. */
MEMORY MEMORY
{ {
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 64k /* 512KB FLASH, 80KB RAM, Reserve 73 vectors = 292 bytes (0x124) in RAM */
RAM (rwx) : ORIGIN = 0x200000C0, LENGTH = 0x2000-0xC0 FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 512k
RAM (rwx) : ORIGIN = 0x20000124, LENGTH = 0x14000-0x124
} }
/* Linker script to place sections and symbol values. Should be used together /* Linker script to place sections and symbol values. Should be used together