##
#******************************************************************************
#COPYRIGHT 2002 STMicroelectronics
#Source File Name : st72f521.lkf
#Group            : IPSW,CMG-IPDF
#Author           : MCD Application Team
#Date First Issued: 07/03/2002
#********************************Documentation*********************************
#General Purpose - Linker file
#********************************RevisionHistory*******************************
#______________________________________________________________________________
#Date :07/03/2002                 Release:1.0      
#*****************************************************************************/
#
+seg .text -b 0x1000 -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 0x200 -m 0xf0

# 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\spi.o                                 # application program
..\..\object\cosmic\main.o 
			
# float and integer library names depend on the model used
"C:\Cosmic\ST7\Lib\libic.st7"
"C:\Cosmic\ST7\Lib\libm.st7"

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

# define the __stack symbol for stack models only
+def __stack=0x100			            # 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) 2002  ST Microelectronics *********** END OF FILE ***