mbed library sources
Fork of mbed-src by
Revision 425:91481e778ca2, committed 2014-12-03
- Comitter:
- mbed_official
- Date:
- Wed Dec 03 09:45:08 2014 +0000
- Parent:
- 424:73631a54077f
- Child:
- 426:712edee6295a
- Commit message:
- Synchronized with git revision da233f6e5eb075b1e8d1fcc1438f74d3cb08e2ab
Full URL: https://github.com/mbedmicro/mbed/commit/da233f6e5eb075b1e8d1fcc1438f74d3cb08e2ab/
Targets: Fix GCC ARM linker script for STM32L1 (STM32L152XE)
Changed in this revision
targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/TOOLCHAIN_GCC_ARM/STM32L152XE.ld | Show annotated file Show diff for this revision Revisions of this file |
--- 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