From 4ca61a9d0e3f0f789e3da7931805bf2e96cef224 Mon Sep 17 00:00:00 2001 From: Glenn Ruben Bakke Date: Sun, 8 Jan 2017 22:34:48 +0100 Subject: [PATCH] nrf5/boards: Giving a bit more heap for nrf52840 linker script. --- nrf5/boards/nrf52840_aa.ld | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nrf5/boards/nrf52840_aa.ld b/nrf5/boards/nrf52840_aa.ld index 1f31e21cb6..96365f54eb 100644 --- a/nrf5/boards/nrf52840_aa.ld +++ b/nrf5/boards/nrf52840_aa.ld @@ -13,7 +13,7 @@ MEMORY /* produce a link error if there is not this amount of RAM for these sections */ _minimum_stack_size = 2K; -_minimum_heap_size = 16K; +_minimum_heap_size = 32K; /* top end of the stack */ @@ -22,6 +22,6 @@ _estack = ORIGIN(RAM) + LENGTH(RAM); /* RAM extents for the garbage collector */ _ram_end = ORIGIN(RAM) + LENGTH(RAM); -_heap_end = 0x20005000; /* tunable */ +_heap_end = 0x20008000; /* tunable */ INCLUDE "boards/common.ld"