From c6fc0a134ca5ba76c16f95b2ef65151e14a472dd Mon Sep 17 00:00:00 2001 From: Glenn Ruben Bakke Date: Sun, 15 Jan 2017 19:37:53 +0100 Subject: [PATCH] nrf51/boards: Increasing heap and stack size in the pca10028 board. --- nrf5/boards/nrf51822_ac.ld | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nrf5/boards/nrf51822_ac.ld b/nrf5/boards/nrf51822_ac.ld index 2c591cd2f2..28f8068420 100644 --- a/nrf5/boards/nrf51822_ac.ld +++ b/nrf5/boards/nrf51822_ac.ld @@ -13,8 +13,8 @@ MEMORY } /* produce a link error if there is not this amount of RAM for these sections */ -_minimum_stack_size = 2K; -_minimum_heap_size = 20K; +_minimum_stack_size = 4K; +_minimum_heap_size = 24K; /* 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 = 0x20005000; /* tunable */ +_heap_end = 0x20006000; /* tunable */ INCLUDE "boards/common.ld"