nrf5/boards: Tuning linker script for nrf51822_ac to get some more heap.
This commit is contained in:
parent
affe0f8e98
commit
8349fd0bb9
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user