From bb7fdb6edaf2d831fb53a67a0cbc3151f4ae8da0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Nohlg=C3=A5rd?= <joakim.nohlgard@eistec.se> Date: Sun, 6 May 2018 07:48:43 +0200 Subject: [PATCH] lpc1768: Adjust ldscript memory segment attributes --- cpu/lpc1768/ldscripts/lpc1768.ld | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cpu/lpc1768/ldscripts/lpc1768.ld b/cpu/lpc1768/ldscripts/lpc1768.ld index 3bacbfde19..e954ee0c11 100644 --- a/cpu/lpc1768/ldscripts/lpc1768.ld +++ b/cpu/lpc1768/ldscripts/lpc1768.ld @@ -21,9 +21,9 @@ MEMORY { rom (rx) : ORIGIN = 0x00000000, LENGTH = 512K - ram (rwx) : ORIGIN = 0x100000C8, LENGTH = (32K - 0xC8) - usb_ram (rwx) : ORIGIN = 0x2007C000, LENGTH = 16K - eth_ram (rwx) : ORIGIN = 0x20080000, LENGTH = 16K + ram (w!rx) : ORIGIN = 0x100000C8, LENGTH = (32K - 0xC8) + usb_ram : ORIGIN = 0x2007C000, LENGTH = 16K + eth_ram : ORIGIN = 0x20080000, LENGTH = 16K } INCLUDE cortexm_base.ld -- GitLab