From 431ac7b3c559fb76dbfd13bbd3b572ca5299c670 Mon Sep 17 00:00:00 2001 From: haukepetersen Date: Mon, 15 Jun 2015 23:02:43 +0200 Subject: [PATCH] cpu/nrf51: added linkerscript for 128kb variant --- cpu/nrf51/ldscripts/nrf51x22xxab.ld | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 cpu/nrf51/ldscripts/nrf51x22xxab.ld diff --git a/cpu/nrf51/ldscripts/nrf51x22xxab.ld b/cpu/nrf51/ldscripts/nrf51x22xxab.ld new file mode 100644 index 0000000000..b72c9324ff --- /dev/null +++ b/cpu/nrf51/ldscripts/nrf51x22xxab.ld @@ -0,0 +1,27 @@ +/* + * 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_nrf51822 + * @{ + * + * @file + * @brief Memory definitions for the NRF51X22XXAB + * + * @author Hauke Petersen + * + * @} + */ + +MEMORY +{ + rom (rx) : ORIGIN = 0x00000000, LENGTH = 128K + ram (rwx) : ORIGIN = 0x20000000, LENGTH = 16K +} + +INCLUDE cortexm_base.ld