nrf5/boards: Releasing more RAM for heap use in the nrf51 s110 linker script.

This commit is contained in:
Glenn Ruben Bakke 2017-02-19 19:00:31 +01:00
parent 10e7c16351
commit 486d05ff17

View File

@ -9,12 +9,12 @@ MEMORY
FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 0x040000 /* entire flash, 256 KiB */
FLASH_ISR (rx) : ORIGIN = 0x00018000, LENGTH = 0x000400 /* sector 0, 1 KiB */
FLASH_TEXT (rx) : ORIGIN = 0x00018400, LENGTH = 0x027c00 /* 159 KiB */
RAM (xrw) : ORIGIN = 0x20002000, LENGTH = 0x002000 /* 8 KiB */
RAM (xrw) : ORIGIN = 0x20001000, LENGTH = 0x003000 /* 12 KiB */
}
/* produce a link error if there is not this amount of RAM for these sections */
_minimum_stack_size = 2K;
_minimum_heap_size = 4K;
_minimum_heap_size = 8K;
/* top end of the stack */