++
Fork of mbed-stm32l0/l1-src by
Revision 628:d925a6dbb7c8, committed 2015-09-28
- Comitter:
- mbed_official
- Date:
- Mon Sep 28 06:30:09 2015 +0100
- Parent:
- 627:4fa1328d9c60
- Child:
- 629:1806c2edb763
- Commit message:
- Synchronized with git revision 6e52baedf0dc432749ab3f064b65587fd1bd76f6
Full URL: https://github.com/mbedmicro/mbed/commit/6e52baedf0dc432749ab3f064b65587fd1bd76f6/
Support microbit BOOT and OTA modes
Changed in this revision
targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_GCC_CR/LPC1768.ld | Show annotated file Show diff for this revision Revisions of this file |
--- a/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_GCC_CR/LPC1768.ld Fri Sep 25 14:15:10 2015 +0100 +++ b/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_GCC_CR/LPC1768.ld Mon Sep 28 06:30:09 2015 +0100 @@ -8,7 +8,8 @@ /* Define each memory region */ MFlash512 (rx) : ORIGIN = 0x0, LENGTH = 0x80000 /* 512k */ RamLoc32 (rwx) : ORIGIN = 0x100000C8, LENGTH = 0x7F38 /* 32k */ - RamAHB32 (rwx) : ORIGIN = 0x2007c000, LENGTH = 0x8000 /* 32k */ + RamAHB_USB (rwx) : ORIGIN = 0x2007c000, LENGTH = 0x4000 /* 16k */ + RamAHB_Eth (rwx) : ORIGIN = 0x20080000, LENGTH = 0x4000 /* 16k */ } /* Define a symbol for the top of each memory region */ @@ -110,11 +111,11 @@ *(.data.$RAM2*) *(.data.$RamAHB32*) . = ALIGN(4) ; - } > RamAHB32 AT>MFlash512 + } > RamAHB_USB AT>MFlash512 /* MAIN DATA SECTION */ - .uninit_RESERVED : ALIGN(4) + .uninit_RESERVED(NOLOAD) : ALIGN(4) { KEEP(*(.bss.$RESERVED*)) } > RamLoc32 @@ -130,15 +131,21 @@ } > RamLoc32 AT>MFlash512 - .bss_RAM2 : ALIGN(4) + .bss_RAM2(NOLOAD) : ALIGN(4) { *(.bss.$RAM2*) *(.bss.$RamAHB32*) + *(AHBSRAM0) . = ALIGN(4) ; - } > RamAHB32 + } > RamAHB_USB + .bss_RAM3(NOLOAD) : ALIGN(4) + { + *(AHBSRAM1) + . = ALIGN(4) ; + } > RamAHB_Eth /* MAIN BSS SECTION */ - .bss : ALIGN(4) + .bss(NOLOAD) : ALIGN(4) { _bss = .; *(.bss*)