circuitpython/ports/nrf/boards/adafruit_nrf52840_s140_v6.ld

46 lines
1.6 KiB
Plaintext
Raw Normal View History

2018-02-13 00:26:34 -05:00
/*
2018-08-22 10:51:30 -04:00
GNU linker script for NRF52840 w/S140 6.x.x SoftDevice
2018-02-13 00:26:34 -05:00
MEMORY MAP
------------------------------------------------------------------------
START ADDR END ADDR SIZE DESCRIPTION
---------- ---------- ------- -----------------------------------------
0x000FF000..0x000FFFFF ( 4KB) Bootloader Settings
0x000FE000..0x000FEFFF ( 4KB) Master Boot Record Params
2018-07-03 06:46:08 -04:00
0x000F4000..0x000FDFFF ( 40KB) Bootloader (UF2 + CDC + OTA)
2018-02-13 05:50:29 -05:00
0x000ED000..0x000F3FFF (28KB ) Private Config Data (Bonding, Keys, etc.)
0x000AD000..0x000ECFFF (256KB) User Filesystem
0x00026000..0x000ACFFF (540KB) Application Code (including ISR vector)
2018-04-23 13:51:44 -04:00
0x00001000..0x00025FFF (148KB) SoftDevice
2018-02-13 00:26:34 -05:00
0x00000000..0x00000FFF (4KB) Master Boot Record
*/
2018-08-22 10:51:30 -04:00
/* Specify the memory areas (S140 6.x.x) */
2018-02-13 00:26:34 -05:00
MEMORY
{
FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 0x100000
2018-04-23 13:51:44 -04:00
FLASH_ISR (rx) : ORIGIN = 0x00026000, LENGTH = 0x001000
FLASH_TEXT (rx) : ORIGIN = 0x00027000, LENGTH = 0x086000
FLASH_FATFS (r) : ORIGIN = 0x000AD000, LENGTH = 0x040000
2018-02-13 05:50:29 -05:00
2018-02-15 15:42:24 -05:00
/* 0x2000000 - RAM:ORIGIN is reserved for Softdevice */
2018-02-13 00:26:34 -05:00
RAM (xrw) : ORIGIN = 0x20004000, LENGTH = 0x20040000 - 0x20004000
}
/* produce a link error if there is not this amount of RAM for these sections */
_minimum_stack_size = 2K;
2018-02-13 02:40:40 -05:00
_minimum_heap_size = 0;
2018-02-13 00:26:34 -05:00
/* 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 = 0x20020000; /* tunable */
2018-02-13 00:26:34 -05:00
INCLUDE "boards/common.ld"