summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2016-11-25 18:44:59 -0800
committerStefan Agner <stefan.agner@toradex.com>2016-11-25 18:47:39 -0800
commit09814914eb07f670e5b6d65c86ca18cbc76d4d73 (patch)
tree06ec0dcaa33352b9bfa17cf5cbb18a52d7bae9ce
parent53d1bf0704120b0fe1706c97a42f6f97e57eff1e (diff)
increase memory in DDR linker file
Increase the memory (m_data) area in the DDR linker file. Also use the code bus for the code area instead of the system bus. This aligns with the _tcm.ld file and should improve performance. Note: To get more heap space in FreeRTOS configTOTAL_HEAP_SIZE in FreeRTOSConfig.h needs to be adjusted as well. Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
-rw-r--r--platform/devices/MCIMX7D/linker/gcc/MCIMX7D_M4_ddr.ld6
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/devices/MCIMX7D/linker/gcc/MCIMX7D_M4_ddr.ld b/platform/devices/MCIMX7D/linker/gcc/MCIMX7D_M4_ddr.ld
index 92f1d6e..c423bb3 100644
--- a/platform/devices/MCIMX7D/linker/gcc/MCIMX7D_M4_ddr.ld
+++ b/platform/devices/MCIMX7D/linker/gcc/MCIMX7D_M4_ddr.ld
@@ -55,9 +55,9 @@ STACK_SIZE = DEFINED(__stack_size__) ? __stack_size__ : 0x0400;
/* Specify the memory areas */
MEMORY
{
- m_interrupts (RX) : ORIGIN = 0x8ff00000, LENGTH = 0x00000240
- m_text (RX) : ORIGIN = 0x8ff00240, LENGTH = 0x000EFDC0
- m_data (RW) : ORIGIN = 0x20000000, LENGTH = 0x00008000
+ m_interrupts (RX) : ORIGIN = 0x1ff00000, LENGTH = 0x00000240
+ m_text (RX) : ORIGIN = 0x1ff00240, LENGTH = 0x0007FDC0
+ m_data (RW) : ORIGIN = 0x8ff80000, LENGTH = 0x00070000
}
__FLASH_START = ORIGIN(m_interrupts);