From 09814914eb07f670e5b6d65c86ca18cbc76d4d73 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Fri, 25 Nov 2016 18:44:59 -0800 Subject: 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 --- platform/devices/MCIMX7D/linker/gcc/MCIMX7D_M4_ddr.ld | 6 +++--- 1 file 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); -- cgit v1.2.3