Skip to content

Commit c9739f4

Browse files
committed
NCS36510 - decrease reserved heap space
Decrease the minimum space reserved for the heap from 16K down to 2K for GCC. This does not have an effect on the actual heap size since the heap takes up all free RAM. This just allows code to compile in configurations where the heap is smaller than 16K.
1 parent 3ad80eb commit c9739f4

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ SECTIONS
205205
__end__ = .;
206206
end = __end__;
207207
*(.heap*);
208-
. += 0x4000;
208+
. += 0x800;
209209
__HeapLimit = .;
210210
} > RAM
211211
PROVIDE(__heap_size = SIZEOF(.heap));

0 commit comments

Comments
 (0)