#
#******************************************************************************
#COPYRIGHT 2002 STMicroelectronics
#Source File Name : st72f521.lkf
#Group            : IPSW, CMG - IPDF
#Author           : MCD Application Team
#Date First Issued: 5/3/2002
#********************************Documentation*********************************
#General Purpose - Linker file
#********************************RevisionHistory*******************************
#______________________________________________________________________________
#Date :5/3/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 0xc0


# 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
..\..\object\Cosmic\itc.o

#float and integer library names depend on the model used

"C:\Cosmic\ST7\Lib\libiml.st7"
"C:\Cosmic\ST7\Lib\libm.st7"

+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
