/*C6416dsk.cmd  Linker command file*/
/*
MEMORY
{
  IVECS:    org=0h,  		len=0x220
  IRAM:		org=0x00000220,	len=0x0002FDE0 //internal memory
  SDRAM:	org=0x80000000, len=0x00100000 //external memory
  FLASH:	org=0x90000000, len=0x00020000 //flash memory
}
*/
SECTIONS
{
  .EXTRAM: > SDRAM
  .EXTRAM2: > SDRAM

  .bss:     {} > IRAM
  .far:     {} > IRAM
  .text:    {} > IRAM
  .switch:    {} > IRAM
  .cinit:    {} > IRAM
  .pinit:   {} > IRAM
  .data:    {} > IRAM
  .cio:     {} > IRAM

  GROUP {
    .const: align = 0x8 {} 
    .printf (COPY): {} 
  } > IRAM
  
  /*
  .EXT_RAM :> SDRAM
  .vectors :> IVECS	//in vector file
  .text    :> IRAM	//Created by C Compiler
  .bss     :> IRAM
  .cinit   :> IRAM
  .stack   :> IRAM
  .sysmem  :> IRAM
  .const   :> IRAM
  .switch  :> IRAM
  .far     :> IRAM
  .cio     :> IRAM
  .csldata :> IRAM
  */
}
