diff --git a/firmware/common/LPC4330_M4.ld b/firmware/common/LPC4330_M4.ld index 694fd265..f2663957 100644 --- a/firmware/common/LPC4330_M4.ld +++ b/firmware/common/LPC4330_M4.ld @@ -27,7 +27,8 @@ MEMORY /* rom is really the shadow region that points to SPI flash or elsewhere */ rom (rx) : ORIGIN = 0x00000000, LENGTH = 1M ram_local1 (rwx) : ORIGIN = 0x10000000, LENGTH = 128K - ram_local2 (rwx) : ORIGIN = 0x10080000, LENGTH = 72K + ram_local2 (rwx) : ORIGIN = 0x10080000, LENGTH = 64K + ram_m0 (rwx) : ORIGIN = 0x10090000, LENGTH = 8K /* there are some additional RAM regions */ ram_ahb1 (rwx) : ORIGIN = 0x20000000, LENGTH = 16K /* Removed 32K of AHB SRAM for USB buffer. Straddles two blocks of RAM diff --git a/firmware/common/LPC4330_M4_rom_to_ram.ld b/firmware/common/LPC4330_M4_rom_to_ram.ld index f6b1d008..a50ba638 100644 --- a/firmware/common/LPC4330_M4_rom_to_ram.ld +++ b/firmware/common/LPC4330_M4_rom_to_ram.ld @@ -30,7 +30,8 @@ MEMORY /* rom is really the shadow region that points to SPI flash or elsewhere */ rom (rx) : ORIGIN = 0x00000000, LENGTH = 1M ram_local1 (rwx) : ORIGIN = 0x10000000, LENGTH = 128K - ram_local2 (rwx) : ORIGIN = 0x10080000, LENGTH = 72K + ram_local2 (rwx) : ORIGIN = 0x10080000, LENGTH = 64K + ram_m0 (rwx) : ORIGIN = 0x10090000, LENGTH = 8K ram_ahb1 (rwx) : ORIGIN = 0x20000000, LENGTH = 16K /* Removed 32K of AHB SRAM for USB buffer. Straddles two blocks of RAM * to get performance benefit of having two USB buffers addressable