/******************************************************************************
            TEXAS INSTRUMENTS INCORPORATED PROPRIETARY INFORMATION           
                                                                             
   Property of Texas Instruments  
   For  Unrestricted  Internal  Use  Only 
   Unauthorized reproduction and/or distribution is strictly prohibited.  
   This product  is  protected  under  copyright  law  and  trade  secret law 
   as an unpublished work.  

   Created 2011, (C) Copyright 2011 Texas Instruments.  All rights reserved.
                                                           
   Filename         : JPEGEncApp.cmd

   Description      : Common linker command file for the DSP software 
   
 *******************************************************************************/


-stack    0x2000    /* Primary stack size   */
-heap     0x2400000 /* Heap area size       */
-c           

MEMORY
{        
    ERAM                   : o = 0x80000000, l = 0x08000000 
}

SECTIONS
{ 
  /*--------------------------------------------------------------------*/
  /* Internal Data memory section: non-BIOS mechanism, Form a array and */
  /* redirect it to required memory section                             */
  /*--------------------------------------------------------------------*/
     .intDataMem : > L2SRAM  

     .text 	 : >  MSMCSRAM      
     .far    	 : >  ERAM     
     .data   	 : >  L2SRAM
     .bss    	 : >  L2SRAM
     .cinit  	 : >  ERAM
     .cio    	 : >  ERAM
     .pinit  	 : >  ERAM
     .const  	 : >  MSMCSRAM
     .switch 	 : >  MSMCSRAM 
     .bios   	 : >  ERAM
     .alignconst : >  ERAM 
     .init_array : >  L2SRAM
     .fardata    : >  L2SRAM
     .neardata   : >  L2SRAM
     .rodata     : >  L2SRAM
	 
	 /* Sections related to library */
     JPEGIENC_TI_dSect  :> MSMCSRAM
     JPEGIENC_TI_uSect  :> MSMCSRAM
     JPEGIENC_TI_cSect  :> MSMCSRAM

     /************************/
     /* External Heap Memory */
     /************************/
     .sysmem        : align(0x100) > ERAM

     /******************************************/
     /* External Stack and I/O Memory Sections */
     /******************************************/
     .stack         : fill=0xc0ffee align(0x8000)  > L2SRAM  
     .ccdData	    : >  ERAM
     .bitsData	    : >  ERAM
     .ref_buffer    : align(0x100) > ERAM
}               