From 182157a19cbfbf6c402a381c367ea80e4064878e Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Sat, 6 Oct 2012 17:30:26 -0700 Subject: [PATCH] Add ram_ahb memory region to linker scripts. --- firmware/common/LPC4330_M4.ld | 1 + firmware/common/LPC4330_M4_ROM_to_RAM.ld | 1 + 2 files changed, 2 insertions(+) diff --git a/firmware/common/LPC4330_M4.ld b/firmware/common/LPC4330_M4.ld index d73b4d47..8a9b2ad4 100644 --- a/firmware/common/LPC4330_M4.ld +++ b/firmware/common/LPC4330_M4.ld @@ -27,6 +27,7 @@ MEMORY rom (rx) : ORIGIN = 0x00000000, LENGTH = 1M ram (rwx) : ORIGIN = 0x10000000, LENGTH = 128K /* there are some additional RAM regions */ + ram_ahb (rwx) : ORIGIN = 0x20000000, LENGTH = 64K } /* Include the common ld script. */ diff --git a/firmware/common/LPC4330_M4_ROM_to_RAM.ld b/firmware/common/LPC4330_M4_ROM_to_RAM.ld index e3852933..995c54f5 100644 --- a/firmware/common/LPC4330_M4_ROM_to_RAM.ld +++ b/firmware/common/LPC4330_M4_ROM_to_RAM.ld @@ -31,6 +31,7 @@ MEMORY ram (rwx) : ORIGIN = 0x10000000, LENGTH = 128K /* there are some additional RAM regions for data */ ram_data (rw) : ORIGIN = 0x10080000, LENGTH = 72K + ram_ahb (rwx) : ORIGIN = 0x20000000, LENGTH = 64K } /* Include the common ld script. */