28 lines
834 B
Plaintext
28 lines
834 B
Plaintext
/*
|
|
GNU linker script for NRF52 w/ s1xx prototype3 softdevice (IPv6)
|
|
*/
|
|
|
|
/* Specify the memory areas */
|
|
MEMORY
|
|
{
|
|
FLASH (rx) : ORIGIN = 0x0001F000, LENGTH = 0x061000 /* entire flash, 512 KiB */
|
|
FLASH_ISR (rx) : ORIGIN = 0x0001F000, LENGTH = 0x000400 /* sector 0, 4 KiB */
|
|
FLASH_TEXT (rx) : ORIGIN = 0x0001F400, LENGTH = 0x060c00 /* 396 KiB */
|
|
RAM (xrw) : ORIGIN = 0x20002800, LENGTH = 0x00D800 /* 54 KiB */
|
|
}
|
|
|
|
/* produce a link error if there is not this amount of RAM for these sections */
|
|
_minimum_stack_size = 8K;
|
|
_minimum_heap_size = 28K;
|
|
|
|
/* top end of the stack */
|
|
|
|
/*_stack_end = ORIGIN(RAM) + LENGTH(RAM);*/
|
|
_estack = ORIGIN(RAM) + LENGTH(RAM);
|
|
|
|
/* RAM extents for the garbage collector */
|
|
_ram_end = ORIGIN(RAM) + LENGTH(RAM);
|
|
_heap_end = 0x2000a800; /* tunable */
|
|
|
|
INCLUDE "boards/common.ld"
|