Remove no-longer-used nrf and atmel-samd .ld files

This commit is contained in:
Dan Halbert 2019-12-10 21:08:51 -05:00
parent 68ae47907c
commit c6221c5956
17 changed files with 0 additions and 391 deletions

View File

@ -1,13 +0,0 @@
/*
GNU linker script for SAMD21x18 (256K flash, 32K RAM)
*/
/* Specify the memory areas */
MEMORY
{
/* Leave 8KiB for the bootloader, 256b for persistent config (clock), 64k for the flash file system and 256b for the user config. */
FLASH (rx) : ORIGIN = 0x00000000 + 8K, LENGTH = 256K - 8K - 256 - 64K - 256
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 32K
}
INCLUDE "samd21-common.ld"

View File

@ -1,13 +0,0 @@
/*
GNU linker script for SAMD21x18 (256K flash, 32K RAM)
*/
/* Specify the memory areas */
MEMORY
{
/* Leave 8KiB for the bootloader, 256b for internal config and 256b for user config. */
FLASH (rx) : ORIGIN = 0x00000000 + 8K, LENGTH = 256K - 8K - 256 - 256
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 32K
}
INCLUDE "samd21-common.ld"

View File

@ -1,13 +0,0 @@
/*
GNU linker script for SAMD21x18 (256K flash, 32K RAM)
*/
/* Specify the memory areas */
MEMORY
{
/* Leave 8KiB for the bootloader and 256b for user config. */
FLASH (rx) : ORIGIN = 0x00000000 + 8K, LENGTH = 256K - 8K - 256
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 32K /* 32 KiB RAM */
}
INCLUDE "samd21-common.ld"

View File

@ -1,14 +0,0 @@
/*
GNU linker script for SAMD21x18 (256K flash, 32K RAM)
*/
/* Specify the memory areas */
MEMORY
{
/* Leave 8KiB for the bootloader, 64k for the flash file system, and 256b
for user config. */
FLASH (rx) : ORIGIN = 0x00000000 + 8K, LENGTH = 256K - 8K - 64K - 256
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 32K
}
INCLUDE "samd21-common.ld"

View File

@ -1,13 +0,0 @@
/*
GNU linker script for SAMD21x18 (256K flash, 32K RAM)
*/
/* Specify the memory areas */
MEMORY
{
/* 256 KiB but leave 256b for internal config and 256b for user config (protected eeprom) */
FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 256K - 256 - 256
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 32K
}
INCLUDE "samd21-common.ld"

View File

@ -1,13 +0,0 @@
/*
GNU linker script for SAMD21x18 (256K flash, 32K RAM)
*/
/* Specify the memory areas */
MEMORY
{
/* Leave 256b for internal config, 64k for the flash file system and 256b for user config. */
FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 256K - 256 - 64K
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 32K
}
INCLUDE "samd21-common.ld"

View File

@ -1,13 +0,0 @@
/*
GNU linker script for SAMD51x18 (256K flash, 128K RAM)
*/
/* Specify the memory areas */
MEMORY
{
/* Leave 16KiB for the bootloader. 8K for user data*/
FLASH (rx) : ORIGIN = 0x00000000 + 16K, LENGTH = 256K - 16K - 8K
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 128K
}
INCLUDE "samd51-common.ld"

View File

@ -1,13 +0,0 @@
/*
GNU linker script for SAMD51x19 (512K flash, 192K RAM)
*/
/* Specify the memory areas */
MEMORY
{
/* Leave 16KiB for the bootloader. 8K for user data*/
FLASH (rx) : ORIGIN = 0x00000000 + 16K, LENGTH = 512K - 16K - 8K
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 192K
}
INCLUDE "samd51-common.ld"

View File

@ -1,13 +0,0 @@
/*
GNU linker script for SAMD51x19 (512K flash, 192K RAM)
*/
/* Specify the memory areas */
MEMORY
{
/* Leave 16KiB for the bootloader, 256KiB for the internal file system, and 8KiB for user binary data. */
FLASH (rx) : ORIGIN = 0x00000000 + 16K, LENGTH = 512K - 16K - 256K - 8K
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 192K
}
INCLUDE "samd51-common.ld"

View File

@ -1,13 +0,0 @@
/*
GNU linker script for SAMD51x20 (1MB flash, 256K RAM)
*/
/* Specify the memory areas */
MEMORY
{
/* Leave 16KiB for the bootloader. */
FLASH (rx) : ORIGIN = 0x00000000 + 16K, LENGTH = 1M - 16K - 8K
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 256K
}
INCLUDE "samd51-common.ld"

View File

@ -1,12 +0,0 @@
/*
GNU linker script for SAMD51x20 (1MB flash, 256K RAM)
*/
/* Specify the memory areas */
MEMORY
{
/* Leave 16KiB for the bootloader, 512k for the filesystem and 8k for user config data. */
FLASH (rx) : ORIGIN = 0x00000000 + 16K, LENGTH = 1M - 16K - 512K - 8K
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 256K
}
INCLUDE "samd51-common.ld"

View File

@ -1,12 +0,0 @@
/*
GNU linker script for SAMD51x20 (1MB flash, 256K RAM)
*/
/* Specify the memory areas */
MEMORY
{
FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 1M - 8K
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 256K
}
INCLUDE "samd51-common.ld"

View File

@ -1,13 +0,0 @@
/*
GNU linker script for SAMD51x20 (1MB flash, 256K RAM)
*/
/* Specify the memory areas */
MEMORY
{
/* 1024 KiB minus 512KiB for the internal file system and 8KiB for the user nvm. */
FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 1M - 512K - 8K
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 256K
}
INCLUDE "samd51-common.ld"

View File

@ -1,52 +0,0 @@
/*
GNU linker script for NRF52840 w/S140 6.x.x SoftDevice
MEMORY MAP
------------------------------------------------------------------------
START ADDR END ADDR SIZE DESCRIPTION
---------- ---------- ------- -----------------------------------------
0x000FF000..0x000FFFFF ( 4KB) Bootloader Settings
0x000FE000..0x000FEFFF ( 4KB) Master Boot Record Params
0x000F4000..0x000FDFFF ( 40KB) Bootloader (UF2 + CDC + OTA)
0x000ED000..0x000F3FFF (28KB ) Private Config Data (Bonding, Keys, etc.)
0x000AD000..0x000ECFFF (256KB) User Filesystem
0x00026000..0x000ACFFF (540KB) Application Code (including ISR vector)
0x00001000..0x00025FFF (148KB) SoftDevice
0x00000000..0x00000FFF (4KB) Master Boot Record
*/
/* Specify the memory areas (S140 6.x.x) */
MEMORY
{
FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 1M
FLASH_ISR (rx) : ORIGIN = 0x00026000, LENGTH = 0x001000
FLASH_TEXT (rx) : ORIGIN = 0x00027000, LENGTH = 0x086000
FLASH_FATFS (r) : ORIGIN = 0x000AD000, LENGTH = 0x040000
FLASH_NVM (r) : ORIGIN = 0x000EC000, LENGTH = 0x001000
FLASH_CONFIG (r): ORIGIN = 0x000ED000, LENGTH = 0x007000
/* 0x2000000 - RAM:ORIGIN is reserved for Softdevice */
/* SoftDevice 6.1.0 takes 0x1628 bytes (5.54 kb) minimum. */
/* To measure the minimum required amount of memory for given configuration, set this number
high enough to work and then check the mutation of the value done by sd_ble_enable. */
RAM (xrw) : ORIGIN = 0x20000000 + 16K, LENGTH = 256K - 16K
}
/* produce a link error if there is not this amount of RAM for these sections */
_minimum_stack_size = 2K;
_minimum_heap_size = 0;
/* top end of the stack */
/*_stack_end = ORIGIN(RAM) + LENGTH(RAM);*/
_estack = ORIGIN(RAM) + LENGTH(RAM);
/* RAM extents for the garbage collector and soft device init */
_ram_start = ORIGIN(RAM);
_ram_end = ORIGIN(RAM) + LENGTH(RAM);
_heap_end = 0x20020000; /* tunable */
INCLUDE "boards/common.ld"

View File

@ -1,115 +0,0 @@
/* Flash region for File System */
__fatfs_flash_start_addr = ORIGIN(FLASH_FATFS);
__fatfs_flash_length = LENGTH(FLASH_FATFS);
/* Flash region for configuration information (bonding info, keys, etc.) */
__config_flash_start_addr = ORIGIN(FLASH_CONFIG);
__config_flash_length = LENGTH(FLASH_CONFIG);
/* Flash region for microcontroller.nvm region */
__nvm_flash_start_addr = ORIGIN(FLASH_NVM);
__nvm_flash_length = LENGTH(FLASH_NVM);
/* define output sections */
SECTIONS
{
/* The startup code goes first into FLASH */
.isr_vector :
{
. = ALIGN(4);
KEEP(*(.isr_vector)) /* Startup code */
. = ALIGN(4);
} >FLASH_ISR
/* The program code and other data goes into FLASH */
.text :
{
. = ALIGN(4);
*(.text) /* .text sections (code) */
*(.text*) /* .text* sections (code) */
*(.rodata) /* .rodata sections (constants, strings, etc.) */
*(.rodata*) /* .rodata* sections (constants, strings, etc.) */
/* *(.glue_7) */ /* glue arm to thumb code */
/* *(.glue_7t) */ /* glue thumb to arm code */
. = ALIGN(4);
_etext = .; /* define a global symbol at end of code */
} >FLASH_TEXT
/*
.ARM.extab :
{
*(.ARM.extab* .gnu.linkonce.armextab.*)
} >FLASH
.ARM :
{
__exidx_start = .;
*(.ARM.exidx*)
__exidx_end = .;
} >FLASH
*/
/* used by the startup to initialize data */
_sidata = .;
/* This is the initialized data section
The program executes knowing that the data is in the RAM
but the loader puts the initial values in the FLASH (inidata).
It is one task of the startup to copy the initial values from FLASH to RAM. */
.data : AT (_sidata)
{
. = ALIGN(4);
_sdata = .; /* create a global symbol at data start; used by startup code in order to initialise the .data section in RAM */
_ram_start = .; /* create a global symbol at ram start for garbage collector */
*(.data) /* .data sections */
*(.data*) /* .data* sections */
. = ALIGN(4);
_edata = .; /* define a global symbol at data end; used by startup code in order to initialise the .data section in RAM */
} >RAM
/* Uninitialized data section */
.bss :
{
. = ALIGN(4);
_sbss = .; /* define a global symbol at bss start; used by startup code */
*(.bss)
*(.bss*)
*(COMMON)
. = ALIGN(4);
_ebss = .; /* define a global symbol at bss end; used by startup code and GC */
} >RAM
/* this is to define the start of the heap, and make sure we have a minimum size */
.heap :
{
. = ALIGN(4);
PROVIDE ( end = . );
PROVIDE ( _end = . );
_heap_start = .; /* define a global symbol at heap start */
. = . + _minimum_heap_size;
} >RAM
/* this just checks there is enough RAM for the stack */
.stack :
{
. = ALIGN(4);
. = . + _minimum_stack_size;
. = ALIGN(4);
} >RAM
/* Remove information from the standard libraries */
/*
/DISCARD/ :
{
libc.a ( * )
libm.a ( * )
libgcc.a ( * )
}
*/
.ARM.attributes 0 : { *(.ARM.attributes) }
}

View File

@ -1,28 +0,0 @@
/*
GNU linker script for NRF52840 blank w/ no SoftDevice
*/
/* Specify the memory areas */
MEMORY
{
FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 0x100000 /* entire flash, 1 MiB */
FLASH_ISR (rx) : ORIGIN = 0x00000000, LENGTH = 0x001000 /* sector 0, 4 KiB */
FLASH_TEXT (rx) : ORIGIN = 0x00001000, LENGTH = 0x0E6000 /* 920 KiB */
FLASH_FATFS (r) : ORIGIN = 0x000E7000, LENGTH = 0x019000 /* File system 100 KiB */
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 0x040000 /* 256 KiB */
}
/* produce a link error if there is not this amount of RAM for these sections */
_minimum_stack_size = 40K;
_minimum_heap_size = 0;
/* 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 */
INCLUDE "boards/common.ld"

View File

@ -1,28 +0,0 @@
/*
GNU linker script for NRF52840 w/ s140 6.0.0 SoftDevice
*/
/* Specify the memory areas */
MEMORY
{
FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 0x100000 /* entire flash, 1 MiB */
FLASH_ISR (rx) : ORIGIN = 0x00026000, LENGTH = 0x001000 /* sector 0, 4 KiB */
FLASH_TEXT (rx) : ORIGIN = 0x00027000, LENGTH = 0x099000 /* 612 KiB */
FLASH_FATFS (r) : ORIGIN = 0x000C0000, LENGTH = 0x040000 /* File system 256 KiB */
RAM (xrw) : ORIGIN = 0x20004000, LENGTH = 0x03C000 /* 240 KiB */
}
/* produce a link error if there is not this amount of RAM for these sections */
_minimum_stack_size = 40K;
_minimum_heap_size = 0;
/* 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 */
INCLUDE "boards/common.ld"