nrf5/boards: Tuning linker script for nrf51822_ac to get some more heap.

This commit is contained in:
Glenn Ruben Bakke 2017-01-11 20:14:53 +01:00
parent affe0f8e98
commit 8349fd0bb9

View File

@ -14,7 +14,7 @@ MEMORY
/* produce a link error if there is not this amount of RAM for these sections */ /* produce a link error if there is not this amount of RAM for these sections */
_minimum_stack_size = 2K; _minimum_stack_size = 2K;
_minimum_heap_size = 10K; _minimum_heap_size = 20K;
/* top end of the stack */ /* top end of the stack */
@ -23,6 +23,6 @@ _estack = ORIGIN(RAM) + LENGTH(RAM);
/* RAM extents for the garbage collector */ /* RAM extents for the garbage collector */
_ram_end = ORIGIN(RAM) + LENGTH(RAM); _ram_end = ORIGIN(RAM) + LENGTH(RAM);
_heap_end = 0x20001000; /* tunable */ _heap_end = 0x20005000; /* tunable */
INCLUDE "boards/common.ld" INCLUDE "boards/common.ld"