/****************************************************************************/ /* DM3730.cmd */ /* Copyright (c) 2011 Texas Instruments Incorporated */ /* */ /* Description: This file is a sample linker command file that can be */ /* used for linking programs built with the C compiler and */ /* running the resulting .out file on an DM3730. */ /* Use it as a guideline. You will want to */ /* change the memory layout to match your specific */ /* target system. You may want to change the allocation */ /* scheme according to the size of your program. */ /* */ /****************************************************************************/ -c -heap 0x2000 -stack 0x4000 MEMORY { ISRAM: o = 0x40200000 l = 0x00010000 /* 64kB Internal SRAM */ CS0_SDRAM: o = 0x80000000 l = 0x20000000 /* 512MB of external mDDR in CS0 */ CS1_SDRAM: o = 0xA0000000 l = 0x20000000 /* 512MB of external mDDR in CS1 */ /* DM3730 EVM */ FLASH: o = 0x20000000 l = 0x10000000 /* 256MB of external NAND FLASH */ } SECTIONS { .text > CS0_SDRAM .stack > CS0_SDRAM .bss > CS0_SDRAM .cio > CS0_SDRAM .const > CS0_SDRAM .data > CS0_SDRAM .switch > CS0_SDRAM .sysmem > CS0_SDRAM .far > CS0_SDRAM .args > CS0_SDRAM .ppinfo > CS0_SDRAM .ppdata > CS0_SDRAM /* TI-ABI sections */ .pinit > CS0_SDRAM .cinit > CS0_SDRAM /* EABI sections */ .binit > CS0_SDRAM .init_array > CS0_SDRAM .neardata > CS0_SDRAM .fardata > CS0_SDRAM .rodata > CS0_SDRAM .c6xabi.exidx > CS0_SDRAM .c6xabi.extab > CS0_SDRAM }