/* user linker command file */

-c
-heap  0x2000
-stack 0x4000
 
/* link with the C67x+ rts library */
-l rts67plus.lib

/* link the software system patch into the application */
/* required for proper device operation */
-l ..\common_lib\applySystemPatch.obj               
-l ..\common_lib\c672xSystemPatchV2_00_00.lib


MEMORY
{
    /* rom memory map */
    IROM_BOOT:       o = 00000000h   l = 00020000h 
    IROM_DSPLIB:     o = 00020000h   l = 0000C000h 
    IROM_FASTRTS:    o = 0002C000h   l = 00004000h
    IROM_BIOS:       o = 00030000h   l = 00030000h       

    /* ram memory map */
    /* reserved at boot for bootloader */
    IRAM_BOOT:       o = 10000000h   l = 00001000h

	  /* internal ram available for user applications */
    IVEC_TABLE:      o = 10001000h   l = 00000400h
    IRAM_USER:       o = 10001400h   l = 0003EC00h
}

SECTIONS
{
    /* C standard sections */ 
    .text    >    IRAM_USER
    .stack   >    IRAM_USER
    .far     >    IRAM_USER
    .switch  >    IRAM_USER
    .tables  >    IRAM_USER
    .data    >    IRAM_USER
    .bss     >    IRAM_USER
    .cinit   >    IRAM_USER
    .sysmem  >    IRAM_USER
    .const   >    IRAM_USER
    .cio     >    IRAM_USER
    .pinit   >    IRAM_USER
}

                    
