summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Ruben Bakke <glennbakke@gmail.com>2017-03-07 17:41:46 +0100
committerGlenn Ruben Bakke <glennbakke@gmail.com>2017-03-07 17:41:46 +0100
commit5f705adae06d4925351fe716f956d0fc922e53cf (patch)
tree5cd41b0db0aea9e8523e70718ea37d536950379c
parent2e1335b05166c65e049349a76e930a98683137a3 (diff)
nrf5/boards: Adding more heap memory to the nrf51 256k/32k s110 linker script. Leaving 2k for stack.
-rw-r--r--nrf5/boards/nrf51x22_256k_32k_s110.ld4
1 files changed, 2 insertions, 2 deletions
diff --git a/nrf5/boards/nrf51x22_256k_32k_s110.ld b/nrf5/boards/nrf51x22_256k_32k_s110.ld
index ec1aff397..adee5b4bc 100644
--- a/nrf5/boards/nrf51x22_256k_32k_s110.ld
+++ b/nrf5/boards/nrf51x22_256k_32k_s110.ld
@@ -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"