diff --git a/cpu/sam0_common/ldscripts/README.md b/cpu/sam0_common/ldscripts/README.md deleted file mode 100644 index 0a6e877174..0000000000 --- a/cpu/sam0_common/ldscripts/README.md +++ /dev/null @@ -1,16 +0,0 @@ -### Atmel SAM0 linker scripts notes - -This folder contains SAM0 CPU specific linker scripts that are used to generate -the final binary firmware. - -There are 2 kinds of scripts: - -* <name of cpu>.ld: used to generate a firmware that starts at the -beginning of the flash memory. The firmware is copied to the flash memory -using [OpenOCD](https://github.com/ntfreak/openocd). - -* <name of cpu>\_arduino\_bootloader.ld: used to generate a firmware -that starts after a preflashed Arduino bootloader. The firmware is copied to -the flash memory using [Bossa](https://github.com/shumatech/BOSSA). -This is the kind of configuration used with Arduino MKR and Adafruit Feather -M0 boards. diff --git a/cpu/sam0_common/ldscripts/samd21g18a.ld b/cpu/sam0_common/ldscripts/samd21g18a.ld deleted file mode 100644 index 37dd49c311..0000000000 --- a/cpu/sam0_common/ldscripts/samd21g18a.ld +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2015, 2016 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_samd21 - * @{ - * - * @file - * @brief Memory definitions for the SAMD21DG18A - * - * @author Hauke Petersen - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x00000000, LENGTH = 256K - ram (rwx) : ORIGIN = 0x20000000, LENGTH = 32K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/sam0_common/ldscripts/samd21g18a_arduino_bootloader.ld b/cpu/sam0_common/ldscripts/samd21g18a_arduino_bootloader.ld deleted file mode 100644 index 258f2069b5..0000000000 --- a/cpu/sam0_common/ldscripts/samd21g18a_arduino_bootloader.ld +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright (C) 2015-2017 Freie Universität Berlin - * 2017 Inria - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_samd21 - * @{ - * - * @file - * @brief Memory definitions for the SAMD21DG18A when used with a - * preinstalled bootloader. - * - * @author Hauke Petersen - * @author Alexandre Abadie - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x00002000, LENGTH = 256K-0x2000 - ram (rwx) : ORIGIN = 0x20000000, LENGTH = 32K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/sam0_common/ldscripts/samd21j18a.ld b/cpu/sam0_common/ldscripts/samd21j18a.ld deleted file mode 100644 index a79c15d012..0000000000 --- a/cpu/sam0_common/ldscripts/samd21j18a.ld +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2015, 2016 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_samd21 - * @{ - * - * @file - * @brief Memory definitions for the SAMD21J18A - * - * @author Hauke Petersen - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x00000000, LENGTH = 256K - ram (rwx) : ORIGIN = 0x20000000, LENGTH = 32K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/sam0_common/ldscripts/saml21j18a.ld b/cpu/sam0_common/ldscripts/saml21j18a.ld deleted file mode 100644 index 5239fad7c9..0000000000 --- a/cpu/sam0_common/ldscripts/saml21j18a.ld +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2015 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_saml21 - * @{ - * - * @file - * @brief Memory definitions for the SAML21J18A - * - * @author Hauke Petersen - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x00000000, LENGTH = 256K - ram (rwx) : ORIGIN = 0x20000000, LENGTH = 32K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/sam0_common/ldscripts/samr21e18a.ld b/cpu/sam0_common/ldscripts/samr21e18a.ld deleted file mode 100644 index b4ab42a091..0000000000 --- a/cpu/sam0_common/ldscripts/samr21e18a.ld +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2015, 2016 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_samd21 - * @{ - * - * @file - * @brief Memory definitions for the SAMR21E18A - * - * @author Hauke Petersen - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x00000000, LENGTH = 256K - ram (rwx) : ORIGIN = 0x20000000, LENGTH = 32K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/sam0_common/ldscripts/samr21g18a.ld b/cpu/sam0_common/ldscripts/samr21g18a.ld deleted file mode 100644 index c6770f7c30..0000000000 --- a/cpu/sam0_common/ldscripts/samr21g18a.ld +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2015, 2016 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_samd21 - * @{ - * - * @file - * @brief Memory definitions for the SAMR21G18A - * - * @author Hauke Petersen - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x00000000, LENGTH = 256K - ram (rwx) : ORIGIN = 0x20000000, LENGTH = 32K -} - -INCLUDE cortexm_base.ld