nrf5/boards: Adding more heap memory to the nrf51 256k/32k s110 linker script. Leaving 2k for stack.

This commit is contained in:
Glenn Ruben Bakke 2017-03-07 17:41:46 +01:00
parent 2e1335b051
commit 5f705adae0
1 changed files with 2 additions and 2 deletions

View File

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