Skip to content

Commit 73f4a52

Browse files
author
Deepika
committed
Target_ONSEMI: Setup heap limit and size
1 parent 57b9ccc commit 73f4a52

File tree

1 file changed

+1
-1
lines changed
  • targets/TARGET_ONSEMI/TARGET_NCS36510/device/TOOLCHAIN_GCC_ARM

1 file changed

+1
-1
lines changed

targets/TARGET_ONSEMI/TARGET_NCS36510/device/TOOLCHAIN_GCC_ARM/NCS36510.ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ MEMORY {
160160
__end__ = .;
161161
end = __end__;
162162
*(.heap*);
163-
. += 0x800;
163+
. = ORIGIN(RAM) + LENGTH(RAM) - STACK_SIZE;
164164
__HeapLimit = .;
165165
} > RAM
166166
PROVIDE(__heap_size = SIZEOF(.heap));

0 commit comments

Comments
 (0)