##
#******************************************************************************
#COPYRIGHT 2003 STMicroelectronics
#Source File Name : st7flite1.lkf
#Group            : IPSW,CMG-IPDF
#Author           : MCD Application Team
#Date First Issued: 08/03/2002
#********************************Documentation*********************************
#General Purpose - Linker file
#********************************RevisionHistory*******************************
#______________________________________________________________________________
#Date :08/03/2002                  Release:1.0      
#Date :22/09/2003                  Release:2.0      
#*****************************************************************************/
#
+seg .text -b 0xF000 -n .text       # program start address
+seg .const -a .text                # constants follow code
+seg .bsct -b 0x80                  # zero page start address
+seg .ubsct -n iram                 # uninitialized zero page
+seg .data  -b 0xB0 -m 0x50

#------------------------------------------------------------------------------
# define the .share segment when using compact or memory models only (c,m,ml)
#------------------------------------------------------------------------------
+seg .share -a iram -is			                 # shared segment

"C:\COSMIC\ST7\Lib\crtsi.st7"                    # startup routine

..\..\object\cosmic\main.o                       # application program
# Add\remove the peripherals used in the application
..\..\object\cosmic\eeprom.o
..\..\object\cosmic\adc.o
..\..\object\cosmic\spi.o
..\..\object\cosmic\wdg.o
..\..\object\cosmic\lt.o
..\..\object\cosmic\lart.o
..\..\object\cosmic\itc.o
..\..\object\cosmic\io.o


#------------------------------------------------------------------------------ 
# float and integer library names depend on the model used
#------------------------------------------------------------------------------
"C:\Cosmic\ST7\Lib\libic.st7"
"C:\Cosmic\ST7\Lib\libm.st7" 

#------------------------------------------------------------------------------
# map interrupt vectors
#------------------------------------------------------------------------------
+seg .const -b 0xffe0 -n vector -k 
..\..\object\cosmic\vector_lite1.o 

#------------------------------------------------------------------------------
# define the __stack symbol for stack models only
#------------------------------------------------------------------------------
+def __stack=0x17F                # stack page (stack models)

#------------------------------------------------------------------------------
# define these symbols if crtsi or crtsx is used
#------------------------------------------------------------------------------
+def __endzp=@.ubsct             # end @ of uninitialized zpage
+def __memory=@.bss	             # end @ of bss segment 
                                                                               
#******************** (c) 2003  ST Microelectronics ************ END OF FILE***