mbed library sources

Fork of mbed-src by mbed official

Revision:
425:91481e778ca2
Parent:
419:d1a75cbecf6e
--- a/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/TOOLCHAIN_GCC_ARM/STM32L152XE.ld	Wed Dec 03 08:15:08 2014 +0000
+++ b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/TOOLCHAIN_GCC_ARM/STM32L152XE.ld	Wed Dec 03 09:45:08 2014 +0000
@@ -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