diff --git a/cpu/sam0_common/ldscripts/samd21j18a_arduino_bootloader.ld b/cpu/sam0_common/ldscripts/samd21j18a_arduino_bootloader.ld new file mode 100644 index 0000000000..fe56ad6df8 --- /dev/null +++ b/cpu/sam0_common/ldscripts/samd21j18a_arduino_bootloader.ld @@ -0,0 +1,27 @@ +/* + * Copyright (C) 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 SAMD21J18A with Arduino bootloader + * + * @author Alexandre Abadie + * + * @} + */ + +MEMORY +{ + rom (rx) : ORIGIN = 0x00002000, LENGTH = 256K-0x2000 + ram (rwx) : ORIGIN = 0x20000000, LENGTH = 32K +} + +INCLUDE cortexm_base.ld