Skip to content

Commit edc59ce

Browse files
authored
Merge pull request #11215 from chrissnow/LPC1768_Scatter
LPC1768: Make use of the other 32K of RAM
2 parents 48b5939 + 9825b0d commit edc59ce

File tree

1 file changed

+3
-1
lines changed
  • targets/TARGET_NXP/TARGET_LPC176X/device/TOOLCHAIN_ARM_STD

1 file changed

+3
-1
lines changed

targets/TARGET_NXP/TARGET_LPC176X/device/TOOLCHAIN_ARM_STD/LPC1768.sct

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,17 @@ LR_IROM1 MBED_APP_START MBED_APP_SIZE { ; load region size_region
2929
; 8_byte_aligned(49 vect * 4 bytes) = 8_byte_aligned(0xC4) = 0xC8
3030
; 32KB (RAM size) - 0xC8 (NIVT) - 32 (topmost 32 bytes used by IAP functions) = 0x7F18
3131
RW_IRAM1 0x100000C8 0x7F18-Stack_Size {
32-
.ANY (+RW +ZI)
32+
.ANY1 (+RW +ZI)
3333
}
3434
ARM_LIB_STACK (0x100000C8+0x7F18) EMPTY -Stack_Size { ; stack
3535
}
3636
RW_IRAM2 0x2007C000 0x4000 { ; RW data, ETH RAM
3737
.ANY (AHBSRAM0)
38+
.ANY2 (+RW +ZI)
3839
}
3940
RW_IRAM3 0x20080000 0x4000 { ; RW data, ETH RAM
4041
.ANY (AHBSRAM1)
42+
.ANY3 (+RW +ZI)
4143
}
4244
RW_IRAM4 0x40038000 0x0800 { ; RW data, CAN RAM
4345
.ANY (CANRAM)

0 commit comments

Comments
 (0)