From 095f55abce865e0200e072af879c0df77914ef05 Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Sat, 11 Jan 2014 15:21:20 -0800 Subject: [PATCH] Make a bit of room in the M0 AHB RAM region for fixed-location shared (M4, M0 cores) data structures. --- firmware/common/LPC4330_M0.ld | 2 +- firmware/common/LPC4330_M4.ld | 2 +- firmware/common/LPC4330_M4_rom_to_ram.ld | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/firmware/common/LPC4330_M0.ld b/firmware/common/LPC4330_M0.ld index 3ec9ad54..04dc7428 100644 --- a/firmware/common/LPC4330_M0.ld +++ b/firmware/common/LPC4330_M0.ld @@ -22,7 +22,7 @@ MEMORY { - ram (rwx) : ORIGIN = 0x00000000, LENGTH = 32K + ram (rwx) : ORIGIN = 0x00000000, LENGTH = 28K } /* Include the common ld script. */ diff --git a/firmware/common/LPC4330_M4.ld b/firmware/common/LPC4330_M4.ld index 013c9ddf..75f4c65e 100644 --- a/firmware/common/LPC4330_M4.ld +++ b/firmware/common/LPC4330_M4.ld @@ -35,7 +35,7 @@ MEMORY * to get performance benefit of having two USB buffers addressable * simultaneously (on two different buses of the AHB multilayer matrix) */ - ram_m0 (rwx) : ORIGIN = 0x20000000, LENGTH = 32K + ram_m0 (rwx) : ORIGIN = 0x20000000, LENGTH = 28K } /* 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 588eb6f8..5c42df73 100644 --- a/firmware/common/LPC4330_M4_rom_to_ram.ld +++ b/firmware/common/LPC4330_M4_rom_to_ram.ld @@ -36,7 +36,7 @@ MEMORY * to get performance benefit of having two USB buffers addressable * simultaneously (on two different buses of the AHB multilayer matrix) */ - ram_m0 (rwx) : ORIGIN = 0x20000000, LENGTH = 32K + ram_m0 (rwx) : ORIGIN = 0x20000000, LENGTH = 28K } /* Include the common ld script. */