From e29e0588b437b8907d323caf04efb7614f4f32f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Nohlg=C3=A5rd?= Date: Sun, 6 May 2018 07:48:43 +0200 Subject: [PATCH] sam_common: Adjust ldscript memory segment attributes --- cpu/sam_common/ldscripts/sam3x8e.ld | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu/sam_common/ldscripts/sam3x8e.ld b/cpu/sam_common/ldscripts/sam3x8e.ld index 7e6c13a169..6d3d137c41 100644 --- a/cpu/sam_common/ldscripts/sam3x8e.ld +++ b/cpu/sam_common/ldscripts/sam3x8e.ld @@ -21,7 +21,7 @@ MEMORY { rom (rx) : ORIGIN = 0x00080000, LENGTH = 512K - ram (rwx) : ORIGIN = 0x20070000, LENGTH = 96K + ram (w!rx) : ORIGIN = 0x20070000, LENGTH = 96K } INCLUDE cortexm_base.ld