From 8349fd0bb9977e17014064b4c3a5aae22eb989e4 Mon Sep 17 00:00:00 2001 From: Glenn Ruben Bakke Date: Wed, 11 Jan 2017 20:14:53 +0100 Subject: [PATCH] nrf5/boards: Tuning linker script for nrf51822_ac to get some more heap. --- nrf5/boards/nrf51822_ac.ld | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nrf5/boards/nrf51822_ac.ld b/nrf5/boards/nrf51822_ac.ld index 51fd503b58..2c591cd2f2 100644 --- a/nrf5/boards/nrf51822_ac.ld +++ b/nrf5/boards/nrf51822_ac.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 = 10K; +_minimum_heap_size = 20K; /* 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 = 0x20001000; /* tunable */ +_heap_end = 0x20005000; /* tunable */ INCLUDE "boards/common.ld"