Skip to content

Commit 0699512

Browse files
committed
ARM CM3DS: Align RAM for ARM linker
1 parent 428c8ff commit 0699512

File tree

1 file changed

+1
-1
lines changed
  • targets/TARGET_ARM_SSG/TARGET_CM3DS_MPS2/device/TOOLCHAIN_ARM_STD

1 file changed

+1
-1
lines changed

targets/TARGET_ARM_SSG/TARGET_CM3DS_MPS2/device/TOOLCHAIN_ARM_STD/MPS2.sct

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ LR_IROM2 ZBT_SSRAM1_START ZBT_SSRAM1_SIZE {
5252
}
5353
; At execution, RAM is set to be in ZBT SSRAM2 and 3, just after the vector
5454
; table previously moved from Flash.
55-
RW_IRAM1 (ZBT_SSRAM23_START + NVIC_VECTORS_SIZE) (ZBT_SSRAM23_SIZE - NVIC_VECTORS_SIZE) {
55+
RW_IRAM1 (ZBT_SSRAM23_START + AlignExpr(NVIC_VECTORS_SIZE,8)) (ZBT_SSRAM23_SIZE - AlignExpr(NVIC_VECTORS_SIZE,8)) {
5656
.ANY (+RW +ZI)
5757
}
5858
}

0 commit comments

Comments
 (0)