From d0067b451f2b7ef6ccb424d64efca3bd1587c2f5 Mon Sep 17 00:00:00 2001
From: kYc0o <fco.ja.ac@gmail.com>
Date: Tue, 24 Oct 2017 14:55:59 +0200
Subject: [PATCH] cpu/stm32_common/ldscripts: add stm32_common.ld to manage
 specific ST ccmram

---
 cpu/stm32_common/ldscripts/stm32_common.ld | 28 ++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 cpu/stm32_common/ldscripts/stm32_common.ld

diff --git a/cpu/stm32_common/ldscripts/stm32_common.ld b/cpu/stm32_common/ldscripts/stm32_common.ld
new file mode 100644
index 0000000000..fcd9635417
--- /dev/null
+++ b/cpu/stm32_common/ldscripts/stm32_common.ld
@@ -0,0 +1,28 @@
+/*
+ * 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_cortexm_common
+ * @{
+ *
+ * @file
+ * @brief           Memory definitions for the Cortex-M family
+ *
+ * @author          Francisco Acosta <francisco.acosta@inria.fr>
+ *
+ * @}
+ */
+
+ccmram_length = DEFINED( ccmram_len ) ? ccmram_len : 0x0 ;
+
+MEMORY
+{
+    ccmram (rwx): ORIGIN = 0x10000000, LENGTH = ccmram_length
+}
+
+INCLUDE cortexm.ld
-- 
GitLab