Skip to content

Commit 08beebc

Browse files
committed
RAM region shifted by 0xC0 for vectors
1 parent 0d6bec9 commit 08beebc

File tree

1 file changed

+2
-4
lines changed
  • libraries/mbed/targets/cmsis/TARGET_Freescale/TARGET_KL25Z/TOOLCHAIN_GCC_ARM

1 file changed

+2
-4
lines changed

libraries/mbed/targets/cmsis/TARGET_Freescale/TARGET_KL25Z/TOOLCHAIN_GCC_ARM/MKL25Z4.ld

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44

55
MEMORY
66
{
7-
VECTORS (rx) : ORIGIN = 0x00000000, LENGTH = 0x00000400
7+
VECTORS (rx) : ORIGIN = 0x00000000, LENGTH = 0x00000400
88
FLASH_PROTECTION (rx) : ORIGIN = 0x00000400, LENGTH = 0x00000010
99
FLASH (rx) : ORIGIN = 0x00000410, LENGTH = 128K - 0x00000410
10-
RAM (rwx) : ORIGIN = 0x1FFFF000, LENGTH = 16K
10+
RAM (rwx) : ORIGIN = 0x1FFFF0C0, LENGTH = 16K - 0xC0
1111
}
1212

1313
/* Linker script to place sections and symbol values. Should be used together
@@ -98,8 +98,6 @@ SECTIONS
9898
.data : AT (__etext)
9999
{
100100
__data_start__ = .;
101-
/* vectors come here, shift 0xc0 */
102-
. = . + 0xC0;
103101
*(vtable)
104102
*(.data*)
105103

0 commit comments

Comments
 (0)