Merge pull request #748 from modtronix-com/master

Targets: Fix GCC ARM linker script for STM32L1  (STM32L152XE)
pull/759/head
Martin Kojtal 2014-12-03 09:33:13 +00:00
commit da233f6e5e
1 changed files with 5 additions and 2 deletions

View File

@ -1,8 +1,11 @@
/* Linker script to configure memory regions. */
MEMORY
{
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 64k
RAM (rwx) : ORIGIN = 0x200000C0, LENGTH = 0x2000-0xC0
/* 512KB FLASH, 80KB RAM, Reserve up till 0x13C. There are 0x73 vectors = 292
* bytes (0x124) in RAM. But all GCC scripts seem to require BootRAM @0x138
*/
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 512k
RAM (rwx) : ORIGIN = 0x2000013C, LENGTH = 0x14000-0x13C
}
/* Linker script to place sections and symbol values. Should be used together