nrf52/boards: Increasing the stack and heap in pca10056 (nrf52840) target from 2k/32k to 40k/128k to debug some buffer problems when running large frozen python programs.

This commit is contained in:
Glenn Ruben Bakke 2017-01-15 19:39:57 +01:00
parent c6fc0a134c
commit 73be85dd6d

View File

@ -12,8 +12,8 @@ MEMORY
} }
/* produce a link error if there is not this amount of RAM for these sections */ /* produce a link error if there is not this amount of RAM for these sections */
_minimum_stack_size = 2K; _minimum_stack_size = 40K;
_minimum_heap_size = 32K; _minimum_heap_size = 128K;
/* top end of the stack */ /* top end of the stack */
@ -22,6 +22,6 @@ _estack = ORIGIN(RAM) + LENGTH(RAM);
/* RAM extents for the garbage collector */ /* RAM extents for the garbage collector */
_ram_end = ORIGIN(RAM) + LENGTH(RAM); _ram_end = ORIGIN(RAM) + LENGTH(RAM);
_heap_end = 0x20008000; /* tunable */ _heap_end = 0x20020000; /* tunable */
INCLUDE "boards/common.ld" INCLUDE "boards/common.ld"