Skip to content

Commit d0cc7ac

Browse files
author
deepikabhavnani
committed
Target_Cypress: Update linker files to add heap limit
1 parent 537b364 commit d0cc7ac

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

targets/TARGET_Cypress/TARGET_PSOC6/TARGET_CY8CKIT_062_4343W/device/TOOLCHAIN_GCC_ARM/cy8c6xxa_cm4_dual.ld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,7 @@ SECTIONS
314314
__end__ = .;
315315
end = __end__;
316316
KEEP(*(.heap*))
317+
. = ORIGIN(ram) + LENGTH(ram) - STACK_SIZE;
317318
__HeapLimit = .;
318319
} > ram
319320

targets/TARGET_Cypress/TARGET_PSOC6/TARGET_CY8CKIT_062_BLE/device/TOOLCHAIN_GCC_ARM/cy8c6xx7_cm4_dual.ld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,7 @@ SECTIONS
314314
__end__ = .;
315315
end = __end__;
316316
KEEP(*(.heap*))
317+
. = ORIGIN(ram) + LENGTH(ram) - STACK_SIZE;
317318
__HeapLimit = .;
318319
} > ram
319320

targets/TARGET_Cypress/TARGET_PSOC6/TARGET_CY8CKIT_062_WIFI_BT/device/TOOLCHAIN_GCC_ARM/cy8c6xx7_cm4_dual.ld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,7 @@ SECTIONS
314314
__end__ = .;
315315
end = __end__;
316316
KEEP(*(.heap*))
317+
. = ORIGIN(ram) + LENGTH(ram) - STACK_SIZE;
317318
__HeapLimit = .;
318319
} > ram
319320

targets/TARGET_Cypress/TARGET_PSOC6/TARGET_CY8CMOD_062_4343W/device/TOOLCHAIN_GCC_ARM/cy8c6xxa_cm4_dual.ld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,7 @@ SECTIONS
314314
__end__ = .;
315315
end = __end__;
316316
KEEP(*(.heap*))
317+
. = ORIGIN(ram) + LENGTH(ram) - STACK_SIZE;
317318
__HeapLimit = .;
318319
} > ram
319320

targets/TARGET_Cypress/TARGET_PSOC6/TARGET_CYW943012P6EVB_01/device/TOOLCHAIN_GCC_ARM/cy8c6xx7_cm4_dual.ld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,7 @@ SECTIONS
314314
__end__ = .;
315315
end = __end__;
316316
KEEP(*(.heap*))
317+
. = ORIGIN(ram) + LENGTH(ram) - STACK_SIZE;
317318
__HeapLimit = .;
318319
} > ram
319320

0 commit comments

Comments
 (0)