diff --git a/cpu/sam0_common/ldscripts/samd21g18a_mkr1000.ld b/cpu/sam0_common/ldscripts/samd21g18a_mkr1000.ld new file mode 100644 index 0000000000..2215f46ee1 --- /dev/null +++ b/cpu/sam0_common/ldscripts/samd21g18a_mkr1000.ld @@ -0,0 +1,29 @@ +/* + * 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 used in Arduino MKR1000 board + * + * @author Hauke Petersen + * @author Alexandre Abadie + * + * @} + */ + +MEMORY +{ + rom (rx) : ORIGIN = 0x00002000, LENGTH = 256K-0x2000 + ram (rwx) : ORIGIN = 0x20000000, LENGTH = 32K +} + +INCLUDE cortexm_base.ld